mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +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>
15 lines
387 B
Text
15 lines
387 B
Text
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
|
|
CONFIG_FDTFILE="sun7i-a20-pcduino3.dtb"
|
|
CONFIG_DM=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_SEPARATE=y
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=480
|
|
CONFIG_DRAM_ZQ=122
|
|
CONFIG_DRAM_EMR1=4
|