u-boot/arch/arm/mach-integrator/Kconfig
Tom Rini f01928e232 arm: integrator: Migrate platform-specific options and cleanup armcoremodule.h
This converts the following to Kconfig:
   CONFIG_CM_INIT
   CONFIG_CM_REMAP
   CONFIG_CM_SPD_DETECT
   CONFIG_CM_MULTIPLE_SSRAM
   CONFIG_CM_TCRAM

We make the first three of these options be always enabled, as that
matches usage.  We select the last two based on how they were defined in
armcoremodule.h.  This also allows us to remove some unused code in
board/armltd/integrator/lowlevel_init.S

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2022-04-08 09:05:19 -04:00

78 lines
1.2 KiB
Text

menu "Integrator Options"
depends on ARCH_INTEGRATOR
choice
prompt "Integrator platform select"
optional
config ARCH_INTEGRATOR_AP
bool "Support Integrator/AP platform"
config ARCH_INTEGRATOR_CP
bool "Support Integrator/CP platform"
select ARCH_CINTEGRATOR
endchoice
config ARCH_CINTEGRATOR
bool
choice
prompt "Integrator core module select"
optional
config CM720T
bool "Core Module for ARM720T"
select CPU_ARM720T
config CM920T
bool "Core Module for ARM920T"
select CPU_ARM920T
config CM926EJ_S
bool "Core Module for ARM926EJ-STM"
select CPU_ARM926EJS
select CM_TCRAM
config CM946ES
bool "Core Module for ARM946E-STM"
select CPU_ARM946ES
select CM_MULTIPLE_SSRAM
select CM_TCRAM
config CM1136
bool "Core Module for ARM1136JF-STM"
select CPU_ARM1136
select CM_TCRAM
endchoice
config SYS_BOARD
default "integrator"
config SYS_VENDOR
default "armltd"
config SYS_CONFIG_NAME
default "integratorap" if ARCH_INTEGRATOR_AP
default "integratorcp" if ARCH_INTEGRATOR_CP
config SYS_MALLOC_F_LEN
default 0x2000
config CM_INIT
def_bool y
config CM_REMAP
def_bool y
config CM_SPD_DETECT
def_bool y
config CM_MULTIPLE_SSRAM
bool
config CM_TCRAM
bool
endmenu