Hi Simon,

On Tuesday 02 August 2011 09:29 PM, Simon Schwarz wrote:
> Implements the saving of boot params passed by OMAP3 ROM code.
>
> Signed-off-by: Simon Schwarz<simonschwarz...@gmail.com>
> ---
> Didn't exist before V8
> ---
>   arch/arm/cpu/armv7/omap-common/spl.c     |    6 +++++-
>   arch/arm/cpu/armv7/omap3/lowlevel_init.S |    9 +++++++--
>   arch/arm/include/asm/omap_common.h       |   10 ++++++++++
>   3 files changed, 22 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/spl.c 
> b/arch/arm/cpu/armv7/omap-common/spl.c
> index 53d10bf..3dd8e0d 100644
> --- a/arch/arm/cpu/armv7/omap-common/spl.c
> +++ b/arch/arm/cpu/armv7/omap-common/spl.c
> @@ -194,8 +194,12 @@ static void mmc_load_image(void)
>               printf("spl: mmc init failed: err - %d\n", err);
>               hang();
>       }
> -
> +/* For OMAP3 there is no automatic boot mode detection */
> +#ifdef CONFIG_OMAP34XX
> +     boot_mode = CONFIG_SYS_MMC_SD_BOOTMODE;
> +#else
>       boot_mode = omap_boot_mode();
> +#endif

Why boot mode detection is not supported? You seem to be saving
bootparams below that has boot mode information. Why don't you use it?

best regards,
Aneesh
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to