Commit 8bb687fdc10946a25e81393f8d6617d17e890df0
1 parent
1d7f6ad2bf
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
t81xx: Migrate TI81XX/TI816X/TI814X symbols to Kconfig
The symbol CONFIG_TI81XX is used for the parts that are common to the TI816x and TI814x SoCs and are not part of CONFIG_ARCH_OMAP2PLUS nor CONFIG_AM33XX. It however has so few uses that we can just modify the code to check for both and drop the symbol. The symbols CONFIG_TI816X and CONFIG_TI814X are for the repective SoCs. Signed-off-by: Tom Rini <trini@konsulko.com>
Showing 9 changed files with 38 additions and 17 deletions Side-by-side Diff
arch/arm/include/asm/arch-am33xx/clock.h
arch/arm/include/asm/arch-am33xx/omap.h
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | #define NON_SECURE_SRAM_START 0x402F0400 |
22 | 22 | #define NON_SECURE_SRAM_END 0x40310000 |
23 | 23 | #define NON_SECURE_SRAM_IMG_END 0x4030B800 |
24 | -#elif defined(CONFIG_TI81XX) | |
24 | +#elif defined(CONFIG_TI816X) || defined(CONFIG_TI814X) | |
25 | 25 | #define NON_SECURE_SRAM_START 0x40300000 |
26 | 26 | #define NON_SECURE_SRAM_END 0x40320000 |
27 | 27 | #define NON_SECURE_SRAM_IMG_END 0x4031B800 |
arch/arm/mach-omap2/Kconfig
... | ... | @@ -54,12 +54,6 @@ |
54 | 54 | select DM_SERIAL |
55 | 55 | select DM_GPIO |
56 | 56 | |
57 | -config TARGET_TI814X_EVM | |
58 | - bool "Support ti814x_evm" | |
59 | - | |
60 | -config TARGET_TI816X_EVM | |
61 | - bool "Support ti816x_evm" | |
62 | - | |
63 | 57 | config OMAP34XX |
64 | 58 | bool "OMAP34XX SoC" |
65 | 59 | select ARM_ERRATA_430973 |
... | ... | @@ -115,6 +109,20 @@ |
115 | 109 | imply SPL_NAND_SUPPORT |
116 | 110 | imply SPL_POWER_SUPPORT |
117 | 111 | imply SPL_SERIAL_SUPPORT |
112 | + | |
113 | +config TI814X | |
114 | + bool "TI814X SoC" | |
115 | + help | |
116 | + Support for AM335x SOC from Texas Instruments. | |
117 | + The AM335x high performance SOC features a Cortex-A8 | |
118 | + ARM core and more. | |
119 | + | |
120 | +config TI816X | |
121 | + bool "TI816X SoC" | |
122 | + help | |
123 | + Support for AM335x SOC from Texas Instruments. | |
124 | + The AM335x high performance SOC features a Cortex-A8 | |
125 | + ARM core and more. | |
118 | 126 | |
119 | 127 | config AM43XX |
120 | 128 | bool "AM43XX SoC" |
arch/arm/mach-omap2/am33xx/Kconfig
1 | +if TI816X | |
2 | + | |
3 | +config TARGET_TI816X_EVM | |
4 | + bool "Support ti816x_evm" | |
5 | + help | |
6 | + This option specifies support for the TI8168 EVM development platform | |
7 | + with PG2.0 silicon and DDR3 DRAM. | |
8 | + | |
9 | +endif | |
10 | + | |
11 | +if TI814X | |
12 | + | |
13 | +config TARGET_TI814X_EVM | |
14 | + bool "Support ti814x_evm" | |
15 | + help | |
16 | + This option specifies support for the TI8148 | |
17 | + EVM development platform. | |
18 | + | |
19 | +endif | |
20 | + | |
1 | 21 | if AM33XX |
2 | 22 | |
3 | 23 | config AM33XX_CHILISOM |
configs/ti814x_evm_defconfig
configs/ti816x_evm_defconfig
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
scripts/config_whitelist.txt