]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
arm: lpc32xx: switch SPL builds to driver model
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 19 Dec 2015 21:29:26 +0000 (23:29 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jan 2016 02:05:22 +0000 (21:05 -0500)
commit1222305b55e2809ee9f7945ecc1f776e08943728
tree6b1e032b2cb78e4bd37f91187313900af5f5ad96
parentd25ba89e8b2b80c7229658b9fabdf96e9af64e01
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>
arch/arm/cpu/arm926ejs/lpc32xx/devices.c
arch/arm/include/asm/arch-lpc32xx/config.h
configs/devkit3250_defconfig
configs/work_92105_defconfig