[U-Boot] [PATCH V2 4/5] omap3: new SPL structure support

Andreas Bießmann andreas.devel at googlemail.com
Tue Jul 26 08:11:00 CEST 2011


Dear Simon,

Am 25.07.2011 um 20:05 schrieb Simon Schwarz:

> Support for the new spl structure. Using the interface defined by Aneesh V for
> OMAP4
> ---
> V1 changes:
> ADD support for early console output in SPL
> 
> V2 changes:
> ADD include omap_common.h in board.c
> ADD implement new omap common interface omap_boot_device, omap_boot_mode and
> 	omap_rev_string (very basic)
> CHG cosmetic
> CHG Don't add ecc switch command in SPL
> ADD save_boot_params stump with warning to implement it
> 
> Transition from V1 to V2 also includes that this patch is now based on
> 	- the new SPL layout by Aneesh V and Daniel Schwierzeck
>  	- the OMAP4 SPL patches by Aneesh V
> 
> This is in some parts a anccesstor of "[U-Boot,2/5] devkit8000 nand_spl: omap3
> support nand_spl boot"
> (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102114) in V1
> 
> Signed-off-by: Simon Schwarz <simonschwarzcor at gmail.com>
> ---
> arch/arm/cpu/armv7/omap3/board.c            |   36 +++++++++++++++++++++++++-
> arch/arm/cpu/armv7/omap3/lowlevel_init.S    |    5 +++
> arch/arm/include/asm/arch-omap3/sys_proto.h |    1 +
> arch/arm/include/asm/omap_common.h          |    3 +-
> 4 files changed, 41 insertions(+), 4 deletions(-)

<snip>

> --- a/arch/arm/include/asm/omap_common.h
> +++ b/arch/arm/include/asm/omap_common.h
> @@ -49,8 +49,7 @@ void preloader_console_init(void);
> #define	MMCSD_MODE_UNDEFINED	0
> #define MMCSD_MODE_RAW		1
> #define MMCSD_MODE_FAT		2
> -#define NAND_MODE_HW		3
> -#define NAND_MODE_SW		4
> +#define NAND_MODE_HW_ECC	3

Well ... just choose this naming in Patch 2/5 ... and also change NAND_MODE_SW

> u32 omap_boot_device(void);
> u32 omap_boot_mode(void);
> -- 
> 1.7.4.1

regards

Andreas Bießmann


More information about the U-Boot mailing list