mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![Vladimir Zapolskiy](/assets/img/avatar_default.png)
For NXP LPC32xx boards the change enables SPL_DM option, this allows to use any driver model UART driver in SPL images, hence a restriction on HSUART in SPL image is removed and well as definitions for non-DM NS16550 driver, its DM version is used instead. Because SPL_DM requires malloc(), enable CONFIG_SPL_SYS_MALLOC_SIMPLE for LPC32xx boards. The change adds about 5KB to the resulting SPL image (for devkit3250 board SPL image is increased from 10672 to 15608 bytes). Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
13 lines
248 B
Plaintext
13 lines
248 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_TARGET_DEVKIT3250=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_SPL=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_DM=y
|
|
CONFIG_SYS_NS16550=y
|