[U-Boot] [PATCH v2 3/3] arm: lpc32xx: switch SPL builds to driver model
Simon Glass
sjg at chromium.org
Mon Dec 28 05:22:18 CET 2015
On 19 December 2015 at 14:29, Vladimir Zapolskiy <vz at mleia.com> wrote:
> 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 at mleia.com>
> ---
> Changes from v1 to v2:
> * added CONFIG_SPL_SYS_MALLOC_SIMPLE to defconfigs
> * removed ambiguity from a commit message
>
> arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 2 +-
> arch/arm/include/asm/arch-lpc32xx/config.h | 19 +------------------
> configs/devkit3250_defconfig | 2 ++
> configs/work_92105_defconfig | 2 ++
> 4 files changed, 6 insertions(+), 19 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list