Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
bb1f8b4f
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb1f8b4f
编写于
9月 05, 2008
作者:
J
Jean-Christophe PLAGNIOL-VILLARD
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROM
Signed-off-by:
N
Jean-Christophe PLAGNIOL-VILLARD
<
plagnioj@jcrosoft.com
>
上级
32628c50
变更
94
隐藏空白更改
内联
并排
Showing
94 changed file
with
127 addition
and
127 deletion
+127
-127
README
README
+1
-1
board/Marvell/common/bootseq.txt
board/Marvell/common/bootseq.txt
+1
-1
board/evb64260/bootseq.txt
board/evb64260/bootseq.txt
+1
-1
board/netstal/hcu5/README.txt
board/netstal/hcu5/README.txt
+1
-1
board/xilinx/ml300/ml300.c
board/xilinx/ml300/ml300.c
+1
-1
board/xilinx/xilinx_iic/iic_adapter.c
board/xilinx/xilinx_iic/iic_adapter.c
+1
-1
common/cmd_eeprom.c
common/cmd_eeprom.c
+2
-2
common/cmd_nvedit.c
common/cmd_nvedit.c
+3
-3
common/env_eeprom.c
common/env_eeprom.c
+2
-2
include/configs/APC405.h
include/configs/APC405.h
+1
-1
include/configs/ASH405.h
include/configs/ASH405.h
+1
-1
include/configs/Alaska8220.h
include/configs/Alaska8220.h
+4
-4
include/configs/B2.h
include/configs/B2.h
+1
-1
include/configs/CANBT.h
include/configs/CANBT.h
+1
-1
include/configs/CCM.h
include/configs/CCM.h
+1
-1
include/configs/CMS700.h
include/configs/CMS700.h
+1
-1
include/configs/CPCI2DP.h
include/configs/CPCI2DP.h
+1
-1
include/configs/CPCI405.h
include/configs/CPCI405.h
+1
-1
include/configs/CPCI4052.h
include/configs/CPCI4052.h
+1
-1
include/configs/CPCI405AB.h
include/configs/CPCI405AB.h
+1
-1
include/configs/CPCI405DT.h
include/configs/CPCI405DT.h
+1
-1
include/configs/CPCI750.h
include/configs/CPCI750.h
+1
-1
include/configs/CPCIISER4.h
include/configs/CPCIISER4.h
+1
-1
include/configs/CPU86.h
include/configs/CPU86.h
+1
-1
include/configs/CPU87.h
include/configs/CPU87.h
+1
-1
include/configs/DP405.h
include/configs/DP405.h
+1
-1
include/configs/DU405.h
include/configs/DU405.h
+1
-1
include/configs/DU440.h
include/configs/DU440.h
+2
-2
include/configs/ELPT860.h
include/configs/ELPT860.h
+1
-1
include/configs/ERIC.h
include/configs/ERIC.h
+4
-4
include/configs/EXBITGEN.h
include/configs/EXBITGEN.h
+2
-2
include/configs/G2000.h
include/configs/G2000.h
+1
-1
include/configs/GEN860T.h
include/configs/GEN860T.h
+2
-2
include/configs/GTH.h
include/configs/GTH.h
+1
-1
include/configs/HH405.h
include/configs/HH405.h
+1
-1
include/configs/HUB405.h
include/configs/HUB405.h
+1
-1
include/configs/IP860.h
include/configs/IP860.h
+3
-3
include/configs/JSE.h
include/configs/JSE.h
+1
-1
include/configs/KAREF.h
include/configs/KAREF.h
+1
-1
include/configs/METROBOX.h
include/configs/METROBOX.h
+1
-1
include/configs/MIP405.h
include/configs/MIP405.h
+1
-1
include/configs/OCRTC.h
include/configs/OCRTC.h
+1
-1
include/configs/ORSG.h
include/configs/ORSG.h
+1
-1
include/configs/PATI.h
include/configs/PATI.h
+2
-2
include/configs/PCI405.h
include/configs/PCI405.h
+1
-1
include/configs/PIP405.h
include/configs/PIP405.h
+1
-1
include/configs/PLU405.h
include/configs/PLU405.h
+1
-1
include/configs/PM826.h
include/configs/PM826.h
+1
-1
include/configs/PM828.h
include/configs/PM828.h
+1
-1
include/configs/PMC405.h
include/configs/PMC405.h
+1
-1
include/configs/PMC440.h
include/configs/PMC440.h
+2
-2
include/configs/PPChameleonEVB.h
include/configs/PPChameleonEVB.h
+1
-1
include/configs/SCM.h
include/configs/SCM.h
+1
-1
include/configs/SXNI855T.h
include/configs/SXNI855T.h
+1
-1
include/configs/TOP5200.h
include/configs/TOP5200.h
+1
-1
include/configs/TOP860.h
include/configs/TOP860.h
+1
-1
include/configs/TQM8260.h
include/configs/TQM8260.h
+1
-1
include/configs/VCMA9.h
include/configs/VCMA9.h
+1
-1
include/configs/VOH405.h
include/configs/VOH405.h
+1
-1
include/configs/VOM405.h
include/configs/VOM405.h
+1
-1
include/configs/WUH405.h
include/configs/WUH405.h
+1
-1
include/configs/XPEDITE1K.h
include/configs/XPEDITE1K.h
+1
-1
include/configs/Yukon8220.h
include/configs/Yukon8220.h
+4
-4
include/configs/atc.h
include/configs/atc.h
+1
-1
include/configs/bamboo.h
include/configs/bamboo.h
+2
-2
include/configs/bf533-stamp.h
include/configs/bf533-stamp.h
+1
-1
include/configs/bf537-stamp.h
include/configs/bf537-stamp.h
+1
-1
include/configs/cpci5200.h
include/configs/cpci5200.h
+1
-1
include/configs/csb272.h
include/configs/csb272.h
+1
-1
include/configs/csb472.h
include/configs/csb472.h
+1
-1
include/configs/ep82xxm.h
include/configs/ep82xxm.h
+3
-3
include/configs/hcu4.h
include/configs/hcu4.h
+1
-1
include/configs/hcu5.h
include/configs/hcu5.h
+2
-2
include/configs/imx31_phycore.h
include/configs/imx31_phycore.h
+1
-1
include/configs/innokom.h
include/configs/innokom.h
+1
-1
include/configs/kb9202.h
include/configs/kb9202.h
+1
-1
include/configs/m501sk.h
include/configs/m501sk.h
+2
-2
include/configs/mcu25.h
include/configs/mcu25.h
+1
-1
include/configs/mecp5200.h
include/configs/mecp5200.h
+1
-1
include/configs/ml300.h
include/configs/ml300.h
+2
-2
include/configs/pcu_e.h
include/configs/pcu_e.h
+1
-1
include/configs/pf5200.h
include/configs/pf5200.h
+1
-1
include/configs/quad100hd.h
include/configs/quad100hd.h
+2
-2
include/configs/redwood.h
include/configs/redwood.h
+1
-1
include/configs/sc520_cdp.h
include/configs/sc520_cdp.h
+1
-1
include/configs/sc520_spunk.h
include/configs/sc520_spunk.h
+1
-1
include/configs/sorcery.h
include/configs/sorcery.h
+3
-3
include/configs/stxssa.h
include/configs/stxssa.h
+3
-3
include/configs/yosemite.h
include/configs/yosemite.h
+3
-3
include/configs/yucca.h
include/configs/yucca.h
+1
-1
lib_blackfin/board.c
lib_blackfin/board.c
+1
-1
lib_m68k/board.c
lib_m68k/board.c
+1
-1
lib_ppc/board.c
lib_ppc/board.c
+1
-1
lib_sparc/board.c
lib_sparc/board.c
+1
-1
未找到文件。
README
浏览文件 @
bb1f8b4f
...
...
@@ -2199,7 +2199,7 @@ keep settings there always unmodified except somebody uses "saveenv"
to save the current settings.
- C
F
G_ENV_IS_IN_EEPROM:
- C
ONFI
G_ENV_IS_IN_EEPROM:
Use this if you have an EEPROM or similar serial access
device and a driver for it.
...
...
board/Marvell/common/bootseq.txt
浏览文件 @
bb1f8b4f
...
...
@@ -88,7 +88,7 @@ in_flash:
nothing
mem_malloc_init
malloc_bin_reloc
spi_init (r or f)??? (C
F
G_ENV_IS_IN_EEPROM)
spi_init (r or f)??? (C
ONFI
G_ENV_IS_IN_EEPROM)
env_relocated
misc_init_r(bd): (board/evb64260/evb64260.c)
mpsc_init2
board/evb64260/bootseq.txt
浏览文件 @
bb1f8b4f
...
...
@@ -88,7 +88,7 @@ in_flash:
nothing
mem_malloc_init
malloc_bin_reloc
spi_init (r or f)??? (C
F
G_ENV_IS_IN_EEPROM)
spi_init (r or f)??? (C
ONFI
G_ENV_IS_IN_EEPROM)
env_relocated
misc_init_r(bd): (board/evb64260/evb64260.c)
mpsc_init2
board/netstal/hcu5/README.txt
浏览文件 @
bb1f8b4f
...
...
@@ -152,7 +152,7 @@ From now on our copy is in RAM and we will run from there,
CFG_EBC_PB0A, CFG_EBC_PB0C from hcu5.h
mem_malloc_init
malloc_bin_reloc
spi_init (r or f)??? (C
F
G_ENV_IS_IN_EEPROM)
spi_init (r or f)??? (C
ONFI
G_ENV_IS_IN_EEPROM)
env_relocated
misc_init_r(bd): (board/netstal/hcu5.c)
ethaddr mit serial number ergnzen
...
...
board/xilinx/ml300/ml300.c
浏览文件 @
bb1f8b4f
...
...
@@ -42,7 +42,7 @@
#include <common.h>
#include <asm/processor.h>
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
extern
void
convert_env
(
void
);
#endif
...
...
board/xilinx/xilinx_iic/iic_adapter.c
浏览文件 @
bb1f8b4f
...
...
@@ -42,7 +42,7 @@
#include <environment.h>
#include <net.h>
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#include <i2c.h>
#include "xiic_l.h"
...
...
common/cmd_eeprom.c
浏览文件 @
bb1f8b4f
...
...
@@ -42,7 +42,7 @@
#include <command.h>
#include <i2c.h>
#if defined(C
F
G_ENV_IS_IN_EEPROM) || defined(CONFIG_CMD_EEPROM)
#if defined(C
ONFI
G_ENV_IS_IN_EEPROM) || defined(CONFIG_CMD_EEPROM)
extern
void
eeprom_init
(
void
);
extern
int
eeprom_read
(
unsigned
dev_addr
,
unsigned
offset
,
...
...
@@ -121,7 +121,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
* 0x00000nxx for EEPROM address selectors and page number at n.
*/
#if defined(C
F
G_ENV_IS_IN_EEPROM) || defined(CONFIG_CMD_EEPROM)
#if defined(C
ONFI
G_ENV_IS_IN_EEPROM) || defined(CONFIG_CMD_EEPROM)
#ifndef CONFIG_SPI
#if !defined(CFG_I2C_EEPROM_ADDR_LEN) || CFG_I2C_EEPROM_ADDR_LEN < 1 || CFG_I2C_EEPROM_ADDR_LEN > 2
...
...
common/cmd_nvedit.c
浏览文件 @
bb1f8b4f
...
...
@@ -53,7 +53,7 @@
DECLARE_GLOBAL_DATA_PTR
;
#if !defined(CFG_ENV_IS_IN_NVRAM) && \
!defined(C
F
G_ENV_IS_IN_EEPROM) && \
!defined(C
ONFI
G_ENV_IS_IN_EEPROM) && \
!defined(CFG_ENV_IS_IN_FLASH) && \
!defined(CFG_ENV_IS_IN_DATAFLASH) && \
!defined(CFG_ENV_IS_IN_NAND) && \
...
...
@@ -540,7 +540,7 @@ int getenv_r (char *name, char *buf, unsigned len)
return
(
-
1
);
}
#if ((defined(CFG_ENV_IS_IN_NVRAM) || defined(C
F
G_ENV_IS_IN_EEPROM) \
#if ((defined(CFG_ENV_IS_IN_NVRAM) || defined(C
ONFI
G_ENV_IS_IN_EEPROM) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
...
...
@@ -596,7 +596,7 @@ U_BOOT_CMD(
" - delete environment variable 'name'
\n
"
);
#if ((defined(CFG_ENV_IS_IN_NVRAM) || defined(C
F
G_ENV_IS_IN_EEPROM) \
#if ((defined(CFG_ENV_IS_IN_NVRAM) || defined(C
ONFI
G_ENV_IS_IN_EEPROM) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
...
...
common/env_eeprom.c
浏览文件 @
bb1f8b4f
...
...
@@ -26,7 +26,7 @@
#include <common.h>
#if defined(C
F
G_ENV_IS_IN_EEPROM)
/* Environment is in EEPROM */
#if defined(C
ONFI
G_ENV_IS_IN_EEPROM)
/* Environment is in EEPROM */
#include <command.h>
#include <environment.h>
...
...
@@ -107,4 +107,4 @@ int env_init(void)
return
(
0
);
}
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
include/configs/APC405.h
浏览文件 @
bb1f8b4f
...
...
@@ -291,7 +291,7 @@ extern int flash_banks;
/*
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the */
/* beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
...
...
include/configs/ASH405.h
浏览文件 @
bb1f8b4f
...
...
@@ -233,7 +233,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/Alaska8220.h
浏览文件 @
bb1f8b4f
...
...
@@ -133,7 +133,7 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 70
/*
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 256
*/
...
...
@@ -226,11 +226,11 @@
#if defined CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/B2.h
浏览文件 @
bb1f8b4f
...
...
@@ -176,7 +176,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x0
/* environment starts at the beginning of the EEPROM */
/*-----------------------------------------------------------------------
...
...
include/configs/CANBT.h
浏览文件 @
bb1f8b4f
...
...
@@ -163,7 +163,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/CCM.h
浏览文件 @
bb1f8b4f
...
...
@@ -227,7 +227,7 @@
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 2048
#define CFG_ENV_SIZE 2048
#endif
...
...
include/configs/CMS700.h
浏览文件 @
bb1f8b4f
...
...
@@ -248,7 +248,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/CPCI2DP.h
浏览文件 @
bb1f8b4f
...
...
@@ -200,7 +200,7 @@
#define CFG_FLASH_EMPTY_INFO
/* print 'E' for empty sector on flinfo */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars */
...
...
include/configs/CPCI405.h
浏览文件 @
bb1f8b4f
...
...
@@ -243,7 +243,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/CPCI4052.h
浏览文件 @
bb1f8b4f
...
...
@@ -258,7 +258,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/CPCI405AB.h
浏览文件 @
bb1f8b4f
...
...
@@ -263,7 +263,7 @@
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC32 is 4096 bytes */
...
...
include/configs/CPCI405DT.h
浏览文件 @
bb1f8b4f
...
...
@@ -261,7 +261,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/CPCI750.h
浏览文件 @
bb1f8b4f
...
...
@@ -579,7 +579,7 @@
/* #define CFG_ENV_ADDR (CFG_FLASH_BASE+CFG_MONITOR_LEN-CFG_ENV_SECT_SIZE) */
#endif
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_EEPROM_PAGE_WRITE_BITS 5
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 20
#define CFG_I2C_EEPROM_ADDR 0x050
...
...
include/configs/CPCIISER4.h
浏览文件 @
bb1f8b4f
...
...
@@ -200,7 +200,7 @@
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
/* and takes up to 10 msec */
#define CFG_EEPROM_PAGE_WRITE_ENABLE
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x300
/* 768 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/CPU86.h
浏览文件 @
bb1f8b4f
...
...
@@ -332,7 +332,7 @@
#endif
#else
/* environment is in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_I2C_EEPROM_ADDR 0x58
/* EEPROM X24C16 */
#define CFG_I2C_EEPROM_ADDR_LEN 1
/* mask of address bits that overflow into the "EEPROM chip address" */
...
...
include/configs/CPU87.h
浏览文件 @
bb1f8b4f
...
...
@@ -347,7 +347,7 @@
#endif
#else
/* environment is in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_I2C_EEPROM_ADDR 0x58
/* EEPROM X24C16 */
#define CFG_I2C_EEPROM_ADDR_LEN 1
/* mask of address bits that overflow into the "EEPROM chip address" */
...
...
include/configs/DP405.h
浏览文件 @
bb1f8b4f
...
...
@@ -216,7 +216,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/DU405.h
浏览文件 @
bb1f8b4f
...
...
@@ -227,7 +227,7 @@
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
/* and takes up to 10 msec */
#define CFG_EEPROM_PAGE_WRITE_ENABLE
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/DU440.h
浏览文件 @
bb1f8b4f
...
...
@@ -113,7 +113,7 @@
/*
* Environment
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use FLASH for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use FLASH for environment vars */
/*
* FLASH related
...
...
@@ -146,7 +146,7 @@
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
#endif
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 0
/* environment starts at */
/* the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x1000
/* 4096 bytes may be used for env vars */
...
...
include/configs/ELPT860.h
浏览文件 @
bb1f8b4f
...
...
@@ -138,7 +138,7 @@
#define CONFIG_ENV_OVERWRITE 1
/* Allow Overwrite of serial# & ethaddr */
#undef CFG_ENV_IS_IN_NVRAM
/* Environment is in NVRAM */
#undef C
F
G_ENV_IS_IN_EEPROM
/* Environment is in I2C EEPROM */
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/* Environment is in I2C EEPROM */
#define CFG_ENV_IS_IN_FLASH 1
/* Environment is in FLASH */
#define CONFIG_BAUDRATE 9600
/* console baudrate = 9600 bps */
...
...
include/configs/ERIC.h
浏览文件 @
bb1f8b4f
...
...
@@ -48,7 +48,7 @@
#define CFG_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#endif
#if 0
#define C
F
G_ENV_IS_IN_EEPROM 1 /* use I2C RTC X1240 for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1 /* use I2C RTC X1240 for environment vars */
#define CFG_ENV_OFFSET 0x000 /* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800 /* 2048 bytes may be used for env vars */
#endif /* total size of a X1240 is 2048 bytes */
...
...
@@ -64,13 +64,13 @@
#ifdef CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#else
#ifdef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#else
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/EXBITGEN.h
浏览文件 @
bb1f8b4f
...
...
@@ -47,11 +47,11 @@
#define CFG_I2C_SLAVE 0x7F
/* I2C slave address */
/* environment is in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#undef CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_I2C_EEPROM_ADDR 0x56
/* 1010110 */
#define CFG_I2C_EEPROM_ADDR_LEN 1
/* 8-bit internal addressing */
#define CFG_I2C_EEPROM_ADDR_OVERFLOW 1
/* ... and 1 bit in I2C address */
...
...
include/configs/G2000.h
浏览文件 @
bb1f8b4f
...
...
@@ -299,7 +299,7 @@
* Environment Variable setup
*/
#if 1
/* test-only */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/GEN860T.h
浏览文件 @
bb1f8b4f
...
...
@@ -435,9 +435,9 @@
* be edited if this is changed!
*/
#undef CFG_ENV_IS_IN_FLASH
#define C
F
G_ENV_IS_IN_EEPROM
#define C
ONFI
G_ENV_IS_IN_EEPROM
#if defined(C
F
G_ENV_IS_IN_EEPROM)
#if defined(C
ONFI
G_ENV_IS_IN_EEPROM)
#define CFG_ENV_SIZE (2 * 1024)
#define CFG_ENV_OFFSET (CFG_ENV_EEPROM_SIZE - (8 * 1024))
#else
...
...
include/configs/GTH.h
浏览文件 @
bb1f8b4f
...
...
@@ -195,7 +195,7 @@
#define CFG_FLASH_WRITE_TOUT 500
/* Timeout for Flash Write (in ms) */
#define CFG_ENV_IS_IN_FLASH 1
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 0x000E0000
#define CFG_ENV_SIZE 0x4000
/* Total Size of Environment Sector */
...
...
include/configs/HH405.h
浏览文件 @
bb1f8b4f
...
...
@@ -320,7 +320,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/HUB405.h
浏览文件 @
bb1f8b4f
...
...
@@ -232,7 +232,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/IP860.h
浏览文件 @
bb1f8b4f
...
...
@@ -190,17 +190,17 @@
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_NVRAM
#undef DEBUG_I2C
#define C
F
G_ENV_IS_IN_EEPROM
#define C
ONFI
G_ENV_IS_IN_EEPROM
#ifdef CFG_ENV_IS_IN_NVRAM
#define CFG_ENV_ADDR 0x20000000
/* use SRAM */
#define CFG_ENV_SIZE (16<<10)
/* use 16 kB */
#endif
/* CFG_ENV_IS_IN_NVRAM */
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 512
/* Leave 512 bytes free for other data */
#define CFG_ENV_SIZE 1536
/* Use remaining space */
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
/*-----------------------------------------------------------------------
* Cache Configuration
...
...
include/configs/JSE.h
浏览文件 @
bb1f8b4f
...
...
@@ -79,7 +79,7 @@
/* JSE has EEPROM chips that are good for environment. */
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#undef CFG_ENV_IS_NOWHERE
/* This is the 7bit address of the device, not including P. */
...
...
include/configs/KAREF.h
浏览文件 @
bb1f8b4f
...
...
@@ -143,7 +143,7 @@
*----------------------------------------------------------------------*/
#define CFG_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#undef CFG_ENV_IS_IN_FLASH
/* ... not in flash */
#undef C
F
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_ENV_OVERWRITE 1
/* allow env overwrite */
#define CFG_ENV_SIZE 0x1000
/* Size of Env vars */
...
...
include/configs/METROBOX.h
浏览文件 @
bb1f8b4f
...
...
@@ -205,7 +205,7 @@
*----------------------------------------------------------------------*/
#define CFG_ENV_IS_IN_NVRAM 1
/* Environment uses NVRAM */
#undef CFG_ENV_IS_IN_FLASH
/* ... not in flash */
#undef C
F
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_ENV_OVERWRITE 1
/* allow env overwrite */
#define CFG_ENV_SIZE 0x1000
/* Size of Env vars */
...
...
include/configs/MIP405.h
浏览文件 @
bb1f8b4f
...
...
@@ -114,7 +114,7 @@
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
/* and takes up to 10 msec */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x00000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x00800
/* 2k bytes may be used for env vars */
...
...
include/configs/OCRTC.h
浏览文件 @
bb1f8b4f
...
...
@@ -199,7 +199,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x300
/* 768 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/ORSG.h
浏览文件 @
bb1f8b4f
...
...
@@ -197,7 +197,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x300
/* 768 bytes may be used for env vars */
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/PATI.h
浏览文件 @
bb1f8b4f
...
...
@@ -172,8 +172,8 @@
#define CFG_FLASH_WRITE_TOUT 600
/* Timeout for Flash Write (in ms) */
#define C
F
G_ENV_IS_IN_EEPROM
#ifdef C
F
G_ENV_IS_IN_EEPROM
#define C
ONFI
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 2048
#endif
...
...
include/configs/PCI405.h
浏览文件 @
bb1f8b4f
...
...
@@ -225,7 +225,7 @@
#else
/* Use EEPROM for environment variables */
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars*/
/* total size of a CAT24WC08 is 1024 bytes */
...
...
include/configs/PIP405.h
浏览文件 @
bb1f8b4f
...
...
@@ -95,7 +95,7 @@
#define CFG_I2C_EEPROM_ADDR 0x53
#define CFG_I2C_EEPROM_ADDR_LEN 2
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2 kBytes may be used for env vars */
...
...
include/configs/PLU405.h
浏览文件 @
bb1f8b4f
...
...
@@ -273,7 +273,7 @@
/*
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* reseve 0x100 bytes for strapping */
#define CFG_ENV_SIZE 0x700
...
...
include/configs/PM826.h
浏览文件 @
bb1f8b4f
...
...
@@ -263,7 +263,7 @@
#define CFG_ENV_SECT_SIZE 0x40000
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_I2C_EEPROM_ADDR 0x58
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_EEPROM_PAGE_WRITE_BITS 4
...
...
include/configs/PM828.h
浏览文件 @
bb1f8b4f
...
...
@@ -256,7 +256,7 @@
#define CFG_ENV_SECT_SIZE 0x40000
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_I2C_EEPROM_ADDR 0x58
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_EEPROM_PAGE_WRITE_BITS 4
...
...
include/configs/PMC405.h
浏览文件 @
bb1f8b4f
...
...
@@ -244,7 +244,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/PMC440.h
浏览文件 @
bb1f8b4f
...
...
@@ -105,7 +105,7 @@
* Environment
*----------------------------------------------------------------------*/
#if !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL)
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use FLASH for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use FLASH for environment vars */
#else
#define CFG_ENV_IS_IN_NAND 1
/* use NAND for environment vars */
#define CFG_ENV_IS_EMBEDDED 1
/* use embedded environment */
...
...
@@ -146,7 +146,7 @@
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SIZE)
#endif
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 0
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x1000
/* 4096 bytes may be used for env vars */
#endif
...
...
include/configs/PPChameleonEVB.h
浏览文件 @
bb1f8b4f
...
...
@@ -417,7 +417,7 @@
*/
#ifdef ENVIRONMENT_IN_EEPROM
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048-256 bytes may be used for env vars (total size of a CAT24WC16 is 2048 bytes)*/
...
...
include/configs/SCM.h
浏览文件 @
bb1f8b4f
...
...
@@ -276,7 +276,7 @@
#define CFG_ENV_SECT_SIZE 0x40000
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 2048
#endif
...
...
include/configs/SXNI855T.h
浏览文件 @
bb1f8b4f
...
...
@@ -458,7 +458,7 @@
#define CFG_ENV_SIZE 0x00002000
#else
/* environment is in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
/* at beginning of EEPROM */
#define CFG_ENV_SIZE 1024
/* Use only a part of it*/
#endif
...
...
include/configs/TOP5200.h
浏览文件 @
bb1f8b4f
...
...
@@ -271,7 +271,7 @@
/*
* Environment settings
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* turn on EEPROM env feature */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* turn on EEPROM env feature */
#define CFG_ENV_OFFSET 0x1000
#define CFG_ENV_SIZE 0x0700
...
...
include/configs/TOP860.h
浏览文件 @
bb1f8b4f
...
...
@@ -160,7 +160,7 @@
* only the first 6k in EEPROM are available for user. Of that we use 256b
*/
#define CONFIG_SOFT_I2C
#define C
F
G_ENV_IS_IN_EEPROM 1
/* turn on EEPROM env feature */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* turn on EEPROM env feature */
#define CFG_ENV_OFFSET 0x1000
#define CFG_ENV_SIZE 0x0700
#define CFG_I2C_EEPROM_ADDR 0x57
...
...
include/configs/TQM8260.h
浏览文件 @
bb1f8b4f
...
...
@@ -312,7 +312,7 @@
#define CFG_ENV_SECT_SIZE 0x40000
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 2048
#endif
...
...
include/configs/VCMA9.h
浏览文件 @
bb1f8b4f
...
...
@@ -89,7 +89,7 @@
#define CFG_I2C_EEPROM_ADDR 0x50
#define CFG_I2C_EEPROM_ADDR_LEN 2
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at offset 0 */
#define CFG_ENV_SIZE 0x800
/* 2KB should be more than enough */
...
...
include/configs/VOH405.h
浏览文件 @
bb1f8b4f
...
...
@@ -266,7 +266,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/VOM405.h
浏览文件 @
bb1f8b4f
...
...
@@ -191,7 +191,7 @@
/*
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/WUH405.h
浏览文件 @
bb1f8b4f
...
...
@@ -229,7 +229,7 @@
/*-----------------------------------------------------------------------
* Environment Variable setup
*/
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x100
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x700
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC16 is 2048 bytes */
...
...
include/configs/XPEDITE1K.h
浏览文件 @
bb1f8b4f
...
...
@@ -151,7 +151,7 @@ extern void out32(unsigned int, unsigned long);
/*-----------------------------------------------------------------------
* Environment
*----------------------------------------------------------------------*/
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_SIZE 0x100
/* Size of Environment vars */
#define CFG_ENV_OFFSET 0x100
#define CFG_I2C_EEPROM_ADDR 0x50
/* this is actually the second page of the eeprom */
...
...
include/configs/Yukon8220.h
浏览文件 @
bb1f8b4f
...
...
@@ -133,7 +133,7 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 70
/*
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 256
*/
...
...
@@ -226,11 +226,11 @@
#if defined CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/atc.h
浏览文件 @
bb1f8b4f
...
...
@@ -275,7 +275,7 @@
# define CFG_ENV_SIZE 0x10000
# define CFG_ENV_SECT_SIZE 0x10000
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0
#define CFG_ENV_SIZE 2048
#define CFG_EEPROM_PAGE_WRITE_BITS 4
/* 16-byte page size */
...
...
include/configs/bamboo.h
浏览文件 @
bb1f8b4f
...
...
@@ -233,10 +233,10 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_SIZE 0x200
/* Size of Environment vars */
#define CFG_ENV_OFFSET 0x0
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
/*
* Default environment variables
...
...
include/configs/bf533-stamp.h
浏览文件 @
bb1f8b4f
...
...
@@ -102,7 +102,7 @@
#define CFG_MAX_FLASH_SECT 67
/* max number of sectors on one chip */
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER)
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0x4000
#define CFG_ENV_HEADER (CFG_ENV_OFFSET + 0x12A)
/* 0x12A is the length of LDR file header */
#else
...
...
include/configs/bf537-stamp.h
浏览文件 @
bb1f8b4f
...
...
@@ -235,7 +235,7 @@
#define CONFIG_STACKBASE (CFG_GBL_DATA_ADDR - 4)
#if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_SPI_MASTER)
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0x4000
#define CFG_ENV_HEADER (CFG_ENV_OFFSET + 0x16e)
/* 0x12A is the length of LDR file header */
#else
...
...
include/configs/cpci5200.h
浏览文件 @
bb1f8b4f
...
...
@@ -224,7 +224,7 @@
#define CFG_ENV_SECT_SIZE 0x20000
#define CONFIG_ENV_OVERWRITE 1
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x0000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x0400
/* 8192 bytes may be used for env vars */
/* total size of a CAT24WC32 is 8192 bytes */
...
...
include/configs/csb272.h
浏览文件 @
bb1f8b4f
...
...
@@ -232,7 +232,7 @@
*/
#define CFG_ENV_IS_IN_FLASH 1
/* environment is in FLASH */
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/*
* General Memory organization
...
...
include/configs/csb472.h
浏览文件 @
bb1f8b4f
...
...
@@ -231,7 +231,7 @@
*/
#define CFG_ENV_IS_IN_FLASH 1
/* environment is in FLASH */
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/*
* General Memory organization
...
...
include/configs/ep82xxm.h
浏览文件 @
bb1f8b4f
...
...
@@ -194,7 +194,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#endif
/*-----------------------------------------------------------------------
...
...
@@ -223,10 +223,10 @@
#define CFG_EEPROM_PAGE_WRITE_ENABLE
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_SIZE 0x200
/* Size of Environment vars */
#define CFG_ENV_OFFSET 0x0
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
/* RTC Configuration */
#define CONFIG_RTC_M41T11 1
/* uses a M41T81 */
...
...
include/configs/hcu4.h
浏览文件 @
bb1f8b4f
...
...
@@ -125,7 +125,7 @@
#define CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_NOWHERE
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM configuration */
#define PROM_SIZE 2048
#define CFG_ENV_OFFSET 512
...
...
include/configs/hcu5.h
浏览文件 @
bb1f8b4f
...
...
@@ -108,10 +108,10 @@
#undef CFG_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_NOWHERE
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM and bootstrap configuration */
#define PROM_SIZE 2048
#define CFG_BOOSTRAP_OPTION_OFFSET 512
...
...
include/configs/imx31_phycore.h
浏览文件 @
bb1f8b4f
...
...
@@ -152,7 +152,7 @@
#define CFG_MAX_FLASH_SECT 259
/* max number of sectors on one chip */
#define CFG_MONITOR_BASE CFG_FLASH_BASE
/* Monitor at beginning of flash */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0x00
/* environment starts here */
#define CFG_ENV_SIZE 4096
#define CFG_I2C_EEPROM_ADDR 0x52
...
...
include/configs/innokom.h
浏览文件 @
bb1f8b4f
...
...
@@ -140,7 +140,7 @@
#define CFG_I2C_SPEED 50000
#define CFG_I2C_SLAVE 0xfe
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_ENV_OFFSET 0x00
/* environment starts here */
#define CFG_ENV_SIZE 1024
/* 1 KiB */
...
...
include/configs/kb9202.h
浏览文件 @
bb1f8b4f
...
...
@@ -128,7 +128,7 @@
#define CONFIG_HARD_I2C
#define C
F
G_ENV_IS_IN_EEPROM
#define C
ONFI
G_ENV_IS_IN_EEPROM
#ifdef CONFIG_KB9202
#define CFG_ENV_OFFSET 0x3E00
...
...
include/configs/m501sk.h
浏览文件 @
bb1f8b4f
...
...
@@ -65,7 +65,7 @@
#define CFG_I2C_SPEED 100
#define CFG_I2C_SLAVE 0
#define CFG_CONSOLE_INFO_QUIET
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_I2C_EEPROM_ADDR 0x50
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_EEPROM_AT24C16
...
...
@@ -164,7 +164,7 @@
#define CFG_ENV_SIZE 2048
#endif
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_OFFSET 1024
#define CFG_ENV_SIZE 1024
#endif
...
...
include/configs/mcu25.h
浏览文件 @
bb1f8b4f
...
...
@@ -125,7 +125,7 @@
#define CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_NOWHERE
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM configuration */
#define PROM_SIZE 2048
#define CFG_ENV_OFFSET 512
...
...
include/configs/mecp5200.h
浏览文件 @
bb1f8b4f
...
...
@@ -196,7 +196,7 @@
#define CFG_ENV_SECT_SIZE 0x10000
#define CONFIG_ENV_OVERWRITE 1
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x0000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x0400
/* 8192 bytes may be used for env vars*/
/* total size of a CAT24WC32 is 8192 bytes */
...
...
include/configs/ml300.h
浏览文件 @
bb1f8b4f
...
...
@@ -62,10 +62,10 @@
#define CFG_SYSTEMACE_BASE XPAR_OPB_SYSACE_0_BASEADDR
#define CFG_SYSTEMACE_WIDTH XPAR_XSYSACE_MEM_WIDTH
#define C
F
G_ENV_IS_IN_EEPROM 1
/* environment is in EEPROM */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* environment is in EEPROM */
/* following are used only if env is in EEPROM */
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_I2C_EEPROM_ADDR XPAR_PERSISTENT_0_IIC_0_EEPROMADDR
#define CFG_I2C_EEPROM_ADDR_LEN 1
#define CFG_ENV_OFFSET XPAR_PERSISTENT_0_IIC_0_BASEADDR
...
...
include/configs/pcu_e.h
浏览文件 @
bb1f8b4f
...
...
@@ -234,7 +234,7 @@
#define CFG_ENV_IS_EMBEDDED 1 /* short-cut compile-time test */
#else
/* Final version: environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CFG_I2C_EEPROM_ADDR 0
#define CFG_I2C_EEPROM_ADDR_LEN 2
#define CFG_ENV_OFFSET 1024
...
...
include/configs/pf5200.h
浏览文件 @
bb1f8b4f
...
...
@@ -210,7 +210,7 @@
#define CFG_ENV_SECT_SIZE 0x10000
#define CONFIG_ENV_OVERWRITE 1
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x0000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x0400
/* 8192 bytes may be used for env vars */
/* total size of a CAT24WC32 is 8192 bytes */
...
...
include/configs/quad100hd.h
浏览文件 @
bb1f8b4f
...
...
@@ -42,7 +42,7 @@
#define PLLMR1_DEFAULT PLLMR1_266_133_66
/* no PCI */
/* the environment is in the EEPROM by default */
#define C
F
G_ENV_IS_IN_EEPROM
#define C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_FLASH
#define CONFIG_NET_MULTI 1
...
...
@@ -208,7 +208,7 @@
#define CFG_ENV_SIZE_REDUND (CFG_ENV_SECT_SIZE)
#endif
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_SIZE 0x400
/* Size of Environment vars */
#define CFG_ENV_OFFSET 0x00000000
#define CFG_ENABLE_CRC_16 1
/* Intrinsyc formatting used crc16 */
...
...
include/configs/redwood.h
浏览文件 @
bb1f8b4f
...
...
@@ -121,7 +121,7 @@
*----------------------------------------------------------------------*/
#undef CFG_ENV_IS_IN_NVRAM
/* ... not in NVRAM */
#define CFG_ENV_IS_IN_FLASH 1
/* Environment uses flash */
#undef C
F
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_PREBOOT "echo;" \
"echo Type \"run flash_nfs\" to mount root filesystem over NFS;" \
...
...
include/configs/sc520_cdp.h
浏览文件 @
bb1f8b4f
...
...
@@ -144,7 +144,7 @@
#define CONFIG_ENV_OVERWRITE
/* Environment in EEPROM */
#define C
F
G_ENV_IS_IN_EEPROM 1
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
#define CONFIG_SPI
#define CFG_ENV_SIZE 0x4000
/* Total Size of Environment EEPROM 16k is SPI is used or 128 bytes if MW is used*/
#define CFG_ENV_OFFSET 0
...
...
include/configs/sc520_spunk.h
浏览文件 @
bb1f8b4f
...
...
@@ -161,7 +161,7 @@
#else
/* Environment in EEPROM */
# define C
F
G_ENV_IS_IN_EEPROM 1
# define C
ONFI
G_ENV_IS_IN_EEPROM 1
# define CONFIG_SPI
# define CONFIG_SPI_X 1
# define CFG_ENV_SIZE 0x2000
/* Total Size of Environment EEPROM */
...
...
include/configs/sorcery.h
浏览文件 @
bb1f8b4f
...
...
@@ -208,11 +208,11 @@
#if defined CFG_ENV_IS_IN_FLASH
#undef CFG_ENV_IS_IN_NVRAM
#undef C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_IN_EEPROM
#elif defined C
F
G_ENV_IS_IN_EEPROM
#undef C
ONFI
G_ENV_IS_IN_EEPROM
#elif defined C
ONFI
G_ENV_IS_IN_EEPROM
#undef CFG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#endif
...
...
include/configs/stxssa.h
浏览文件 @
bb1f8b4f
...
...
@@ -313,7 +313,7 @@
/* Environment - default config is in flash, see below */
#if 0 /* in EEPROM */
# define C
F
G_ENV_IS_IN_EEPROM 1
# define C
ONFI
G_ENV_IS_IN_EEPROM 1
# define CFG_ENV_OFFSET 0
# define CFG_ENV_SIZE 2048
#else
/* in flash */
...
...
@@ -426,7 +426,7 @@
* but only little space is available, so we use a very simple setup.
* With environment in flash, we use a more powerful default configuration.
*/
#ifdef C
F
G_ENV_IS_IN_EEPROM
/* use restricted "standard" environment */
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
/* use restricted "standard" environment */
#define CONFIG_BAUDRATE 38400
...
...
@@ -480,6 +480,6 @@
""
#define CONFIG_BOOTCOMMAND "run flash_self"
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
#endif
/* __CONFIG_H */
include/configs/yosemite.h
浏览文件 @
bb1f8b4f
...
...
@@ -98,7 +98,7 @@
#if 1
#define CFG_ENV_IS_IN_FLASH 1
/* use FLASH for environment vars */
#else
#define C
F
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define C
ONFI
G_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#endif
/*-----------------------------------------------------------------------
...
...
@@ -147,10 +147,10 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 3
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
#ifdef C
F
G_ENV_IS_IN_EEPROM
#ifdef C
ONFI
G_ENV_IS_IN_EEPROM
#define CFG_ENV_SIZE 0x200
/* Size of Environment vars */
#define CFG_ENV_OFFSET 0x0
#endif
/* C
F
G_ENV_IS_IN_EEPROM */
#endif
/* C
ONFI
G_ENV_IS_IN_EEPROM */
/* I2C SYSMON (LM75, AD7414 is almost compatible) */
#define CONFIG_DTT_LM75 1
/* ON Semi's LM75 */
...
...
include/configs/yucca.h
浏览文件 @
bb1f8b4f
...
...
@@ -141,7 +141,7 @@
#undef CFG_ENV_IS_IN_NVRAM
/* ... not in NVRAM */
#define CFG_ENV_IS_IN_FLASH 1
/* Environment uses flash */
#undef C
F
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#undef C
ONFI
G_ENV_IS_IN_EEPROM
/* ... not in EEPROM */
#define CONFIG_ENV_OVERWRITE 1
/*
...
...
lib_blackfin/board.c
浏览文件 @
bb1f8b4f
...
...
@@ -378,7 +378,7 @@ void board_init_r(gd_t * id, ulong dest_addr)
malloc_bin_reloc
();
#ifdef CONFIG_SPI
# if ! defined(C
F
G_ENV_IS_IN_EEPROM)
# if ! defined(C
ONFI
G_ENV_IS_IN_EEPROM)
spi_init_f
();
# endif
spi_init_r
();
...
...
lib_m68k/board.c
浏览文件 @
bb1f8b4f
...
...
@@ -568,7 +568,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
malloc_bin_reloc
();
#ifdef CONFIG_SPI
# if !defined(C
F
G_ENV_IS_IN_EEPROM)
# if !defined(C
ONFI
G_ENV_IS_IN_EEPROM)
spi_init_f
();
# endif
spi_init_r
();
...
...
lib_ppc/board.c
浏览文件 @
bb1f8b4f
...
...
@@ -822,7 +822,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
malloc_bin_reloc
();
#ifdef CONFIG_SPI
# if !defined(C
F
G_ENV_IS_IN_EEPROM)
# if !defined(C
ONFI
G_ENV_IS_IN_EEPROM)
spi_init_f
();
# endif
spi_init_r
();
...
...
lib_sparc/board.c
浏览文件 @
bb1f8b4f
...
...
@@ -377,7 +377,7 @@ void board_init_f(ulong bootflag)
malloc_bin_reloc
();
#ifdef CONFIG_SPI
# if !defined(C
F
G_ENV_IS_IN_EEPROM)
# if !defined(C
ONFI
G_ENV_IS_IN_EEPROM)
spi_init_f
();
# endif
spi_init_r
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录