diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-12-19 23:29:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-13 21:05:22 -0500 |
commit | 1222305b55e2809ee9f7945ecc1f776e08943728 (patch) | |
tree | 6b1e032b2cb78e4bd37f91187313900af5f5ad96 /configs | |
parent | d25ba89e8b2b80c7229658b9fabdf96e9af64e01 (diff) | |
download | u-boot-1222305b55e2809ee9f7945ecc1f776e08943728.tar.gz u-boot-1222305b55e2809ee9f7945ecc1f776e08943728.tar.xz u-boot-1222305b55e2809ee9f7945ecc1f776e08943728.zip |
arm: lpc32xx: switch SPL builds to driver model
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/devkit3250_defconfig | 2 | ||||
-rw-r--r-- | configs/work_92105_defconfig | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/devkit3250_defconfig b/configs/devkit3250_defconfig index 0abb8e09e0..ddf09fe5eb 100644 --- a/configs/devkit3250_defconfig +++ b/configs/devkit3250_defconfig @@ -1,5 +1,7 @@ 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 diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig index a5a108ee6e..1a9097a9a6 100644 --- a/configs/work_92105_defconfig +++ b/configs/work_92105_defconfig @@ -1,5 +1,7 @@ CONFIG_ARM=y CONFIG_TARGET_WORK_92105=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_DM=y CONFIG_DM_SERIAL=y CONFIG_DM_GPIO=y CONFIG_SPL=y |