From: Wolfgang Denk Date: Mon, 08 Sep 2008 23:05:47 +0200 Subject: [U-Boot] [PATCH 1/1] qemu_mips: move env storage just after u-boot In-Reply-To: <1220905590-9746-1-git-send-email-plagnioj@jcrosoft.com> References: <1220905590-9746-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20080908210547.A40CA248A5@gemini.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 Dear Jean-Christophe PLAGNIOL-VILLARD, In message <1220905590-9746-1-git-send-email-plagnioj@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > 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.