Hi Masahiro Yamada,
On 04/16/2014 02:44 PM, 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<yamad...@jp.panasonic.com>
Cc: Tom Rini<tr...@ti.com>
Cc: Michal Simek<michal.si...@xilinx.com>
Cc: Andreas Bießmann<andreas.de...@googlemail.com>
Cc: Stephen Warren<swar...@nvidia.com>
Cc: Tom Warren<twar...@nvidia.com>
CC: Stefano Babic<sba...@denx.de>
CC: Minkyu Kang<mk7.k...@samsung.com>
Cc: Dinh Nguyen<dingu...@altera.com>
---
arch/arm/cpu/arm720t/tegra-common/spl.c | 2 +-
arch/arm/include/asm/arch-at91/spl.h | 24 ------------------------
Tested ok on sama5d3xek board for at91 part.
Tested-by: Bo Shen <voice.s...@atmel.com>
Best Regards,
Bo Shen
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot