From: Stefan Roese Date: Tue, 30 Jan 2007 14:01:49 +0000 (+0100) Subject: [PATCH] Update Prodrive SCPU (PDNB3 variant) board X-Git-Tag: v2008.10-rc1~1040^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bbf5eae322f5f1f6427ecc3ac13a0cb7dba8ad6;p=platform%2Fkernel%2Fu-boot.git [PATCH] Update Prodrive SCPU (PDNB3 variant) board SCPU doesn't use redundant environment in flash. Signed-off-by: Stefan Roese --- diff --git a/include/configs/pdnb3.h b/include/configs/pdnb3.h index 2cc137c..06c6652 100644 --- a/include/configs/pdnb3.h +++ b/include/configs/pdnb3.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2006 + * (C) Copyright 2006-2007 * Stefan Roese, DENX Software Engineering, sr@denx.de. * * Configuation settings for the PDNB3 board. @@ -237,18 +237,19 @@ #define CFG_ENV_IS_IN_FLASH 1 +#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN) #if defined(CONFIG_SCPU) -#define CFG_ENV_SECT_SIZE 0x20000 /* size of one complete sector */ +/* no redundant environment on SCPU */ +#define CFG_ENV_SECT_SIZE 0x20000 /* size of one complete sector */ #define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */ #else -#define CFG_ENV_SECT_SIZE 0x1000 /* size of one complete sector */ +#define CFG_ENV_SECT_SIZE 0x1000 /* size of one complete sector */ #define CFG_ENV_SIZE 0x1000 /* Total Size of Environment Sector */ -#endif -#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN) /* Address and size of Redundant Environment Sector */ #define CFG_ENV_ADDR_REDUND (CFG_ENV_ADDR + CFG_ENV_SECT_SIZE) #define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE) +#endif #if !defined(CONFIG_SCPU) /*