u-boot-brain/board/amcc/canyonlands/Kconfig
Masahiro Yamada 326a682358 malloc_f: enable SYS_MALLOC_F by default if DM is on
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>
2015-03-28 09:03:09 -04:00

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