mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +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>
16 lines
387 B
Plaintext
16 lines
387 B
Plaintext
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
|