mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
[PATCH] Update Prodrive SCPU (PDNB3 variant) board
SCPU doesn't use redundant environment in flash. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
6304430ed6
commit
1bbf5eae32
1 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* (C) Copyright 2006
|
* (C) Copyright 2006-2007
|
||||||
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
||||||
*
|
*
|
||||||
* Configuation settings for the PDNB3 board.
|
* Configuation settings for the PDNB3 board.
|
||||||
|
@ -237,18 +237,19 @@
|
||||||
|
|
||||||
#define CFG_ENV_IS_IN_FLASH 1
|
#define CFG_ENV_IS_IN_FLASH 1
|
||||||
|
|
||||||
|
#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN)
|
||||||
#if defined(CONFIG_SCPU)
|
#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 */
|
#define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
|
||||||
#else
|
#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 */
|
#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 */
|
/* Address and size of Redundant Environment Sector */
|
||||||
#define CFG_ENV_ADDR_REDUND (CFG_ENV_ADDR + CFG_ENV_SECT_SIZE)
|
#define CFG_ENV_ADDR_REDUND (CFG_ENV_ADDR + CFG_ENV_SECT_SIZE)
|
||||||
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
|
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(CONFIG_SCPU)
|
#if !defined(CONFIG_SCPU)
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue