[U-Boot] [PATCH] spl: consolidate arch/arm/include/asm/arch-*/spl.h

Andreas Bießmann andreas.devel at googlemail.com
Wed Apr 23 09:30:45 CEST 2014


On 04/16/2014 08:44 AM, Masahiro Yamada wrote:
> arch/arm/include/asm/spl.h requires all SoCs to have
> arch/arm/include/asm/arch-*/spl.h.
> 
> But many of them just define BOOT_DEVICE_* macros.
> 
> Those macros are used in the "switch (boot_device) { ... }"
> statement in common/spl/spl.c.
> 
> So they should not be archtecture specific, but described as
> a simpile enumeration.
> 
> This commit merge most of arch/arm/include/asm/arch-*/spl.h
> into arch/arm/include/asm/spl.h.
> 
> With a little more effort, arch-zynq/spl.h and arch-socfpga/spl.h
> will be merged, while I am not sure about OMAP and Exynos.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Tom Rini <trini at ti.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>

Acked-by: Andreas Bießmann <andreas.devel at googlemail.com>


More information about the U-Boot mailing list