mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 04:23:46 +00:00
448e2b6327
The event framework is just that, a framework. Enabling it by itself does nothing, so we shouldn't ask the user about it. Reword (and correct typos) around this the option and help text. This also applies to DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EVENT should be visible to the user to select, when EVENT is selected. With this, it's time to address the larger problems. When functionality uses events, typically via EVENT_SPY, the appropriate framework then must be select'd and NOT imply'd. As the functionality will cease to work (and so, platforms will fail to boot) this is non-optional and where select is appropriate. Audit the current users of EVENT_SPY to have a more fine-grained approach to select'ing the framework where used. Also ensure the current users of event_register and also select EVENT_DYNAMIC. Cc: AKASHI Takahiro <takahiro.akashi@linaro.org> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Reported-by: Oliver Graute <Oliver.Graute@kococonnector.com> Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com> Fixes:7fe32b3442
("event: Convert arch_cpu_init_dm() to use events") Fixes:42fdcebf85
("event: Convert misc_init_f() to use events") Fixes:c5ef202557
("dm: fix DM_EVENT dependencies") Signed-off-by: Tom Rini <trini@konsulko.com> Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Fabio Estevam <festevam@denx.de>
212 lines
5.3 KiB
Text
212 lines
5.3 KiB
Text
if ARCH_OMAP2PLUS
|
|
|
|
choice
|
|
prompt "OMAP2+ platform select"
|
|
default OMAP34XX
|
|
|
|
config OMAP34XX
|
|
bool "OMAP34XX SoC"
|
|
select ARM_CORTEX_A8_CVE_2017_5715
|
|
select ARM_ERRATA_430973
|
|
select ARM_ERRATA_454179
|
|
select ARM_ERRATA_621766
|
|
select ARM_ERRATA_725233
|
|
select SPL_USE_TINY_PRINTF if SPL
|
|
imply NAND_OMAP_GPMC
|
|
imply SPL_FS_EXT4
|
|
imply SPL_FS_FAT
|
|
imply SPL_GPIO
|
|
imply SPL_I2C
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBDISK_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_MMC
|
|
imply SPL_NAND_SUPPORT
|
|
imply SPL_OMAP3_ID_NAND
|
|
imply SPL_POWER
|
|
imply SPL_SERIAL
|
|
imply SYS_I2C_OMAP24XX
|
|
imply SYS_THUMB_BUILD
|
|
imply TWL4030_POWER
|
|
|
|
config OMAP44XX
|
|
bool "OMAP44XX SoC"
|
|
select DM_EVENT
|
|
select SPL_USE_TINY_PRINTF
|
|
select SPL_SYS_NO_VECTOR_TABLE if SPL
|
|
imply NAND_OMAP_ELM
|
|
imply NAND_OMAP_GPMC
|
|
imply SPL_DISPLAY_PRINT
|
|
imply SPL_FS_EXT4
|
|
imply SPL_FS_FAT
|
|
imply SPL_GPIO
|
|
imply SPL_I2C
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBDISK_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_MMC
|
|
imply SPL_NAND_SIMPLE
|
|
imply SPL_NAND_SUPPORT
|
|
imply SPL_POWER
|
|
imply SPL_SERIAL
|
|
imply SYS_I2C_OMAP24XX
|
|
imply SYS_THUMB_BUILD
|
|
|
|
config OMAP54XX
|
|
bool "OMAP54XX SoC"
|
|
select ARM_CORTEX_A15_CVE_2017_5715
|
|
select ARM_ERRATA_798870
|
|
select DM_EVENT
|
|
select SYS_THUMB_BUILD
|
|
imply NAND_OMAP_ELM
|
|
imply NAND_OMAP_GPMC
|
|
imply SPL_DISPLAY_PRINT
|
|
imply SPL_ENV_SUPPORT
|
|
imply SPL_FS_EXT4
|
|
imply SPL_FS_FAT
|
|
imply SPL_GPIO
|
|
imply SPL_I2C
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBDISK_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_MMC
|
|
imply SPL_NAND_AM33XX_BCH
|
|
imply SPL_NAND_AM33XX_BCH
|
|
imply SPL_NAND_SUPPORT
|
|
imply SPL_POWER
|
|
imply SPL_SERIAL
|
|
imply SYS_I2C_OMAP24XX
|
|
|
|
config TI816X
|
|
bool "TI816X SoC"
|
|
select SPECIFY_CONSOLE_INDEX
|
|
imply NAND_OMAP_ELM
|
|
imply NAND_OMAP_GPMC
|
|
help
|
|
Support for AM335x SOC from Texas Instruments.
|
|
The AM335x high performance SOC features a Cortex-A8
|
|
ARM core and more.
|
|
|
|
config AM43XX
|
|
bool "AM43XX SoC"
|
|
select SPECIFY_CONSOLE_INDEX
|
|
select SYS_L2_PL310 if !SYS_L2CACHE_OFF
|
|
imply NAND_OMAP_ELM
|
|
imply NAND_OMAP_GPMC
|
|
imply SPL_DM
|
|
imply SPL_DM_SEQ_ALIAS
|
|
imply SPL_NAND_AM33XX_BCH
|
|
imply SPL_NAND_SUPPORT
|
|
imply SPL_OF_CONTROL
|
|
imply SPL_OF_TRANSLATE
|
|
imply SPL_SEPARATE_BSS
|
|
imply SPL_SYS_MALLOC_SIMPLE
|
|
imply SYS_I2C_OMAP24XX
|
|
imply SYS_THUMB_BUILD
|
|
help
|
|
Support for AM43xx SOC from Texas Instruments.
|
|
The AM43xx high performance SOC features a Cortex-A9
|
|
ARM core, a quad core PRU-ICSS for industrial Ethernet
|
|
protocols, dual camera support, optional 3D graphics
|
|
and an optional customer programmable secure boot.
|
|
|
|
config AM33XX
|
|
bool "AM33XX SoC"
|
|
select ARM_CORTEX_A8_CVE_2017_5715
|
|
select DM_EVENT
|
|
select SPECIFY_CONSOLE_INDEX
|
|
imply NAND_OMAP_ELM
|
|
imply NAND_OMAP_GPMC
|
|
imply SKIP_LOWLEVEL_INIT
|
|
imply SPL_NAND_AM33XX_BCH
|
|
imply SPL_NAND_SUPPORT
|
|
imply SYS_I2C_OMAP24XX
|
|
imply SYS_THUMB_BUILD
|
|
imply SPL_USE_TINY_PRINTF
|
|
help
|
|
Support for AM335x SOC from Texas Instruments.
|
|
The AM335x high performance SOC features a Cortex-A8
|
|
ARM core, a dual core PRU-ICSS for industrial Ethernet
|
|
protocols, optional 3D graphics and an optional customer
|
|
programmable secure boot.
|
|
|
|
endchoice
|
|
|
|
config SYS_MPUCLK
|
|
int "MPU CLK speed"
|
|
depends on AM33XX
|
|
default 500
|
|
help
|
|
Defines the MPU clock speed (in MHz).
|
|
|
|
config SYS_OMAP_ABE_SYSCK
|
|
bool
|
|
|
|
config TI_SECURE_EMIF_REGION_START
|
|
hex "Reserved EMIF region start address"
|
|
depends on TI_SECURE_DEVICE
|
|
default 0x0
|
|
help
|
|
Reserved EMIF region start address. Set to "0" to auto-select
|
|
to be at the end of the external memory region.
|
|
|
|
config TI_SECURE_EMIF_TOTAL_REGION_SIZE
|
|
hex "Reserved EMIF region size"
|
|
depends on TI_SECURE_DEVICE
|
|
default 0x0
|
|
help
|
|
Total reserved EMIF region size. Default is 0, which means no reserved EMIF
|
|
region on secure devices.
|
|
|
|
config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
|
|
hex "Size of protected region within reserved EMIF region"
|
|
depends on TI_SECURE_DEVICE
|
|
default 0x0
|
|
help
|
|
This config option is used to specify the size of the portion of the total
|
|
reserved EMIF region set aside for secure OS needs that will be protected
|
|
using hardware memory firewalls. This value must be smaller than the
|
|
TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
|
|
|
|
config SYS_AUTOMATIC_SDRAM_DETECTION
|
|
bool
|
|
|
|
choice
|
|
depends on OMAP44XX || OMAP54XX
|
|
prompt "Static or dynamic DDR timing calculations"
|
|
default SYS_EMIF_PRECALCULATED_TIMING_REGS
|
|
help
|
|
For the DDR timing information we can either dynamically determine
|
|
the timings to use or use pre-determined timings (based on using the
|
|
dynamic method). Default to the static timing information.
|
|
|
|
config SYS_EMIF_PRECALCULATED_TIMING_REGS
|
|
bool "Use precalcualted timing values"
|
|
|
|
config SYS_DEFAULT_LPDDR2_TIMINGS
|
|
bool "Use default LPDDR2 timing values"
|
|
select SYS_AUTOMATIC_SDRAM_DETECTION
|
|
|
|
endchoice
|
|
|
|
source "arch/arm/mach-omap2/omap3/Kconfig"
|
|
|
|
source "arch/arm/mach-omap2/omap4/Kconfig"
|
|
|
|
source "arch/arm/mach-omap2/omap5/Kconfig"
|
|
|
|
source "arch/arm/mach-omap2/am33xx/Kconfig"
|
|
|
|
source "board/BuR/brxre1/Kconfig"
|
|
source "board/BuR/brsmarc1/Kconfig"
|
|
source "board/BuR/brppt1/Kconfig"
|
|
source "board/siemens/draco/Kconfig"
|
|
source "board/siemens/pxm2/Kconfig"
|
|
source "board/siemens/rut/Kconfig"
|
|
source "board/ti/ti816x/Kconfig"
|
|
source "board/ti/am43xx/Kconfig"
|
|
source "board/ti/am335x/Kconfig"
|
|
source "board/compulab/cm_t43/Kconfig"
|
|
source "board/phytec/phycore_am335x_r2/Kconfig"
|
|
|
|
endif
|