diff options
author | Adam Ford <aford173@gmail.com> | 2019-08-14 08:29:25 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-25 19:32:55 -0400 |
commit | 1bf330150c2a34af797cafa5a09722a2fc4ae233 (patch) | |
tree | e586ae016e54430c55ef9e0eb643b21652c1857b /arch | |
parent | bf17bcc5b16edcdf679e362e578cde13736ac5bf (diff) | |
download | u-boot-1bf330150c2a34af797cafa5a09722a2fc4ae233.tar.gz |
Convert CONFIG_ARCH_CPU_INIT to Kconfig
This converts the following to Kconfig:
CONFIG_ARCH_CPU_INIT
Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Felix Brack <fb@ltec.ch>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-lpc32xx/config.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91rm9200.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 12e9ea454e..cbb2a2a158 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -329,6 +329,12 @@ config SYS_CACHELINE_SIZE default 64 if SYS_CACHE_SHIFT_6 default 32 if SYS_CACHE_SHIFT_5 +config ARCH_CPU_INIT + bool "Enable ARCH_CPU_INIT" + help + Some architectures require a call to arch_cpu_init() + Say Y here to enable it + config SYS_ARCH_TIMER bool "ARM Generic Timer support" depends on CPU_V7A || ARM64 diff --git a/arch/arm/include/asm/arch-lpc32xx/config.h b/arch/arm/include/asm/arch-lpc32xx/config.h index 471a336f13..0836091af2 100644 --- a/arch/arm/include/asm/arch-lpc32xx/config.h +++ b/arch/arm/include/asm/arch-lpc32xx/config.h @@ -10,7 +10,6 @@ /* Basic CPU architecture */ -#define CONFIG_ARCH_CPU_INIT /* UART configuration */ #if (CONFIG_SYS_LPC32XX_UART == 1) || (CONFIG_SYS_LPC32XX_UART == 2) || \ diff --git a/arch/arm/mach-at91/include/mach/at91rm9200.h b/arch/arm/mach-at91/include/mach/at91rm9200.h index d45343b4d3..3412df0f06 100644 --- a/arch/arm/mach-at91/include/mach/at91rm9200.h +++ b/arch/arm/mach-at91/include/mach/at91rm9200.h @@ -5,7 +5,6 @@ #ifndef __AT91RM9200_H__ #define __AT91RM9200_H__ -#define CONFIG_ARCH_CPU_INIT /* we need arch_cpu_init() for hw timers */ #define CONFIG_AT91_GPIO /* and require always gpio features */ /* Periperial Identifiers */ |