mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 07:43:22 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
53 lines
672 B
Plaintext
53 lines
672 B
Plaintext
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
|