mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 05:04:26 +00:00
326a682358
This option has a bool type, not hex. Fix it and enable it if CONFIG_DM is on because Driver Model always requires malloc memory. Devices are scanned twice, before/after relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc memory before relocation. As it is board-independent, handle it globally. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Robert Baldyga <r.baldyga@samsung.com>
52 lines
672 B
Text
52 lines
672 B
Text
if TEGRA
|
|
|
|
choice
|
|
prompt "Tegra SoC select"
|
|
|
|
config TEGRA20
|
|
bool "Tegra20 family"
|
|
|
|
config TEGRA30
|
|
bool "Tegra30 family"
|
|
|
|
config TEGRA114
|
|
bool "Tegra114 family"
|
|
|
|
config TEGRA124
|
|
bool "Tegra124 family"
|
|
|
|
endchoice
|
|
|
|
config SYS_MALLOC_F_LEN
|
|
default 0x1800
|
|
|
|
config USE_PRIVATE_LIBGCC
|
|
default y
|
|
|
|
config DM
|
|
default y
|
|
|
|
config SPL_DM
|
|
default y
|
|
|
|
config DM_SERIAL
|
|
default y
|
|
|
|
config DM_SPI
|
|
default y
|
|
|
|
config DM_SPI_FLASH
|
|
default y
|
|
|
|
config DM_I2C
|
|
default y
|
|
|
|
config DM_GPIO
|
|
default y
|
|
|
|
source "arch/arm/mach-tegra/tegra20/Kconfig"
|
|
source "arch/arm/mach-tegra/tegra30/Kconfig"
|
|
source "arch/arm/mach-tegra/tegra114/Kconfig"
|
|
source "arch/arm/mach-tegra/tegra124/Kconfig"
|
|
|
|
endif
|