mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 15:53:21 +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>
43 lines
601 B
Plaintext
43 lines
601 B
Plaintext
if TARGET_CANYONLANDS
|
|
|
|
config SYS_BOARD
|
|
default "canyonlands"
|
|
|
|
config SYS_VENDOR
|
|
default "amcc"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "canyonlands"
|
|
|
|
choice BOARD_TYPE
|
|
prompt "Select which board to build for"
|
|
|
|
config CANYONLANDS
|
|
bool "Glacier"
|
|
help
|
|
Select this to build for the Canyonlands 460EX board.
|
|
|
|
config GLACIER
|
|
bool "Glacier"
|
|
help
|
|
Select this to build for the Glacier 460GT board.
|
|
|
|
config ARCHES
|
|
bool "Arches"
|
|
help
|
|
Select this to build for the Arches dual 460GT board.
|
|
|
|
endchoice
|
|
|
|
config DISPLAY_BOARDINFO
|
|
bool
|
|
default y
|
|
|
|
config DM
|
|
default y
|
|
|
|
config DM_SERIAL
|
|
default y
|
|
|
|
endif
|