From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 28 May 2014 17:17:33 +0200 Subject: [U-Boot] [PATCH v2] spl: consolidate arch/arm/include/asm/arch-*/spl.h In-Reply-To: <1398255643-2192-1-git-send-email-yamada.m@jp.panasonic.com> References: <1398255643-2192-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <5385FE0D.6050508@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23/04/2014 14:20, 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 be described as > a simpile enumeration. > > This commit merges 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 > Cc: Tom Rini > Cc: Michal Simek > Cc: Andreas Bie?mann > Cc: Stephen Warren > Cc: Tom Warren > CC: Stefano Babic > CC: Minkyu Kang > Cc: Dinh Nguyen > Acked-by: Andreas Bie?mann > Acked-by: Michal Simek > Acked-by: Stefano Babic > Acked-by: Stephen Warren > Acked-by: Tim Harvey > Tested-by: Bo Shen [on sama5d3xek board for at91 part] > --- Tested-by: Stefano Babic [applying Tim's i.MX6 patches] Tom, what about this patch ? Tim's patchset for SPL on i.MX6 depends on this. Is it appliable ? Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================