[U-Boot] [PATCH 1/1] qemu_mips: move env storage just after u-boot

Wolfgang Denk wd at denx.de
Mon Sep 8 23:05:47 CEST 2008


Dear Jean-Christophe PLAGNIOL-VILLARD,

In message <1220905590-9746-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  include/configs/qemu-mips.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
> index faaa889..e46976d 100644
> --- a/include/configs/qemu-mips.h
> +++ b/include/configs/qemu-mips.h
> @@ -150,7 +150,7 @@
>  #define CFG_FLASH_USE_BUFFER_WRITE	1
>  
>  #define CONFIG_ENV_IS_IN_FLASH	1
> -#define CONFIG_ENV_ADDR		(CFG_FLASH_BASE + 0x40000)
> +#define CONFIG_ENV_ADDR		(CFG_FLASH_BASE + 0x30000)

Wouldn't it make sense to use something like

	(CFG_FLASH_BASE + CFG_MONITOR_LEN)

instead?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
An optimist believes we live in the best world possible; a  pessimist
fears this is true.


More information about the U-Boot mailing list