Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
93f6d725
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,发现更多精彩内容 >>
提交
93f6d725
编写于
9月 10, 2008
作者:
J
Jean-Christophe PLAGNIOL-VILLARD
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename CFG_ENV_IS_NOWHERE in CONFIG_ENV_IS_NOWHERE
Signed-off-by:
N
Jean-Christophe PLAGNIOL-VILLARD
<
plagnioj@jcrosoft.com
>
上级
2556ef78
变更
57
隐藏空白更改
内联
并排
Showing
57 changed file
with
69 addition
and
69 deletion
+69
-69
board/xilinx/xilinx_enet/emac_adapter.c
board/xilinx/xilinx_enet/emac_adapter.c
+2
-2
common/cmd_nvedit.c
common/cmd_nvedit.c
+3
-3
common/env_common.c
common/env_common.c
+1
-1
common/env_nowhere.c
common/env_nowhere.c
+2
-2
drivers/net/xilinx_emaclite.c
drivers/net/xilinx_emaclite.c
+1
-1
include/configs/ADNPESC1.h
include/configs/ADNPESC1.h
+1
-1
include/configs/DK1C20.h
include/configs/DK1C20.h
+1
-1
include/configs/DK1S10.h
include/configs/DK1S10.h
+1
-1
include/configs/JSE.h
include/configs/JSE.h
+1
-1
include/configs/MPC8313ERDB.h
include/configs/MPC8313ERDB.h
+1
-1
include/configs/MPC8315ERDB.h
include/configs/MPC8315ERDB.h
+1
-1
include/configs/MPC8323ERDB.h
include/configs/MPC8323ERDB.h
+1
-1
include/configs/MPC832XEMDS.h
include/configs/MPC832XEMDS.h
+1
-1
include/configs/MPC8349EMDS.h
include/configs/MPC8349EMDS.h
+1
-1
include/configs/MPC8349ITX.h
include/configs/MPC8349ITX.h
+1
-1
include/configs/MPC8360EMDS.h
include/configs/MPC8360EMDS.h
+1
-1
include/configs/MPC8360ERDK.h
include/configs/MPC8360ERDK.h
+1
-1
include/configs/MPC837XEMDS.h
include/configs/MPC837XEMDS.h
+1
-1
include/configs/MPC837XERDB.h
include/configs/MPC837XERDB.h
+1
-1
include/configs/MPC8540ADS.h
include/configs/MPC8540ADS.h
+1
-1
include/configs/MPC8540EVAL.h
include/configs/MPC8540EVAL.h
+2
-2
include/configs/MPC8560ADS.h
include/configs/MPC8560ADS.h
+1
-1
include/configs/MPC8610HPCD.h
include/configs/MPC8610HPCD.h
+1
-1
include/configs/MPC8641HPCN.h
include/configs/MPC8641HPCN.h
+1
-1
include/configs/PM854.h
include/configs/PM854.h
+1
-1
include/configs/PM856.h
include/configs/PM856.h
+1
-1
include/configs/PN62.h
include/configs/PN62.h
+1
-1
include/configs/SBC8540.h
include/configs/SBC8540.h
+2
-2
include/configs/TQM834x.h
include/configs/TQM834x.h
+1
-1
include/configs/cm4008.h
include/configs/cm4008.h
+1
-1
include/configs/cm41xx.h
include/configs/cm41xx.h
+1
-1
include/configs/dbau1x00.h
include/configs/dbau1x00.h
+1
-1
include/configs/evb4510.h
include/configs/evb4510.h
+1
-1
include/configs/gr_cpci_ax2000.h
include/configs/gr_cpci_ax2000.h
+1
-1
include/configs/gr_ep2s60.h
include/configs/gr_ep2s60.h
+1
-1
include/configs/gr_xc3s_1500.h
include/configs/gr_xc3s_1500.h
+1
-1
include/configs/grsim.h
include/configs/grsim.h
+1
-1
include/configs/grsim_leon2.h
include/configs/grsim_leon2.h
+1
-1
include/configs/gth2.h
include/configs/gth2.h
+1
-1
include/configs/hcu4.h
include/configs/hcu4.h
+1
-1
include/configs/hcu5.h
include/configs/hcu5.h
+1
-1
include/configs/integratorap.h
include/configs/integratorap.h
+1
-1
include/configs/mcu25.h
include/configs/mcu25.h
+1
-1
include/configs/ml401.h
include/configs/ml401.h
+2
-2
include/configs/modnet50.h
include/configs/modnet50.h
+1
-1
include/configs/ns9750dev.h
include/configs/ns9750dev.h
+1
-1
include/configs/pb1x00.h
include/configs/pb1x00.h
+1
-1
include/configs/sbc8349.h
include/configs/sbc8349.h
+1
-1
include/configs/sbc8560.h
include/configs/sbc8560.h
+2
-2
include/configs/stxgp3.h
include/configs/stxgp3.h
+1
-1
include/configs/suzaku.h
include/configs/suzaku.h
+1
-1
include/configs/versatile.h
include/configs/versatile.h
+1
-1
include/configs/xupv2p.h
include/configs/xupv2p.h
+1
-1
lib_avr32/board.c
lib_avr32/board.c
+2
-2
lib_m68k/board.c
lib_m68k/board.c
+2
-2
lib_mips/board.c
lib_mips/board.c
+2
-2
lib_ppc/board.c
lib_ppc/board.c
+2
-2
未找到文件。
board/xilinx/xilinx_enet/emac_adapter.c
浏览文件 @
93f6d725
...
...
@@ -56,7 +56,7 @@ static XEmac Emac;
static
char
etherrxbuff
[
PKTSIZE_ALIGN
];
/* Receive buffer */
/* hardcoded MAC address for the Xilinx EMAC Core when env is nowhere*/
#ifdef C
F
G_ENV_IS_NOWHERE
#ifdef C
ONFI
G_ENV_IS_NOWHERE
static
u8
EMACAddr
[
ENET_ADDR_LENGTH
]
=
{
0x00
,
0x0a
,
0x35
,
0x00
,
0x22
,
0x01
};
#endif
...
...
@@ -87,7 +87,7 @@ eth_init(bd_t * bis)
/* make sure the Emac is stopped before it is started */
(
void
)
XEmac_Stop
(
&
Emac
);
#ifdef C
F
G_ENV_IS_NOWHERE
#ifdef C
ONFI
G_ENV_IS_NOWHERE
memcpy
(
bis
->
bi_enetaddr
,
EMACAddr
,
6
);
#endif
...
...
common/cmd_nvedit.c
浏览文件 @
93f6d725
...
...
@@ -59,7 +59,7 @@ DECLARE_GLOBAL_DATA_PTR;
!defined(CONFIG_ENV_IS_IN_NAND) && \
!defined(CONFIG_ENV_IS_IN_ONENAND) && \
!defined(CONFIG_ENV_IS_IN_SPI_FLASH) && \
!defined(C
F
G_ENV_IS_NOWHERE)
!defined(C
ONFI
G_ENV_IS_NOWHERE)
# error Define one of CFG_ENV_IS_IN_{NVRAM|EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|NOWHERE}
#endif
...
...
@@ -544,7 +544,7 @@ int getenv_r (char *name, char *buf, unsigned len)
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
&& !defined(C
F
G_ENV_IS_NOWHERE))
&& !defined(C
ONFI
G_ENV_IS_NOWHERE))
int
do_saveenv
(
cmd_tbl_t
*
cmdtp
,
int
flag
,
int
argc
,
char
*
argv
[])
{
extern
char
*
env_name_spec
;
...
...
@@ -600,7 +600,7 @@ U_BOOT_CMD(
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_FLASH)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_NAND)) \
|| (defined(CONFIG_CMD_ENV) && defined(CONFIG_CMD_ONENAND))) \
&& !defined(C
F
G_ENV_IS_NOWHERE))
&& !defined(C
ONFI
G_ENV_IS_NOWHERE))
U_BOOT_CMD
(
saveenv
,
1
,
0
,
do_saveenv
,
"saveenv - save environment variables to persistent storage
\n
"
,
...
...
common/env_common.c
浏览文件 @
93f6d725
...
...
@@ -246,7 +246,7 @@ void env_relocate (void)
#endif
if
(
gd
->
env_valid
==
0
)
{
#if defined(CONFIG_GTH) || defined(C
F
G_ENV_IS_NOWHERE)
/* Environment not changable */
#if defined(CONFIG_GTH) || defined(C
ONFI
G_ENV_IS_NOWHERE)
/* Environment not changable */
puts
(
"Using default environment
\n\n
"
);
#else
puts
(
"*** Warning - bad CRC, using default environment
\n\n
"
);
...
...
common/env_nowhere.c
浏览文件 @
93f6d725
...
...
@@ -26,7 +26,7 @@
#include <common.h>
#if defined(C
F
G_ENV_IS_NOWHERE)
/* Environment is nowhere */
#if defined(C
ONFI
G_ENV_IS_NOWHERE)
/* Environment is nowhere */
#include <command.h>
#include <environment.h>
...
...
@@ -62,4 +62,4 @@ int env_init(void)
return
(
0
);
}
#endif
/* C
F
G_ENV_IS_NOWHERE) */
#endif
/* C
ONFI
G_ENV_IS_NOWHERE) */
drivers/net/xilinx_emaclite.c
浏览文件 @
93f6d725
...
...
@@ -73,7 +73,7 @@ static xemaclite emaclite;
static
char
etherrxbuff
[
PKTSIZE_ALIGN
/
4
];
/* Receive buffer */
/* hardcoded MAC address for the Xilinx EMAC Core when env is nowhere*/
#ifdef C
F
G_ENV_IS_NOWHERE
#ifdef C
ONFI
G_ENV_IS_NOWHERE
static
u8
emacaddr
[
ENET_ADDR_LENGTH
]
=
{
0x00
,
0x0a
,
0x35
,
0x00
,
0x22
,
0x01
};
#else
static
u8
emacaddr
[
ENET_ADDR_LENGTH
];
...
...
include/configs/ADNPESC1.h
浏览文件 @
93f6d725
...
...
@@ -129,7 +129,7 @@
#define CONFIG_ENV_OVERWRITE
/* Serial/eth change Ok */
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* NO Environment */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* NO Environment */
#endif
/*------------------------------------------------------------------------
...
...
include/configs/DK1C20.h
浏览文件 @
93f6d725
...
...
@@ -117,7 +117,7 @@
#define CONFIG_ENV_OVERWRITE
/* Serial/eth change Ok */
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* NO Environment */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* NO Environment */
#endif
/*------------------------------------------------------------------------
...
...
include/configs/DK1S10.h
浏览文件 @
93f6d725
...
...
@@ -133,7 +133,7 @@
#define CONFIG_ENV_OVERWRITE
/* Serial/eth change Ok */
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* NO Environment */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* NO Environment */
#endif
/*------------------------------------------------------------------------
...
...
include/configs/JSE.h
浏览文件 @
93f6d725
...
...
@@ -80,7 +80,7 @@
#undef CONFIG_ENV_IS_IN_NVRAM
#undef CFG_ENV_IS_IN_FLASH
#define CONFIG_ENV_IS_IN_EEPROM 1
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
/* This is the 7bit address of the device, not including P. */
#define CFG_I2C_EEPROM_ADDR 0x50
...
...
include/configs/MPC8313ERDB.h
浏览文件 @
93f6d725
...
...
@@ -400,7 +400,7 @@
/* Address and size of Redundant Environment Sector */
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8315ERDB.h
浏览文件 @
93f6d725
...
...
@@ -383,7 +383,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8323ERDB.h
浏览文件 @
93f6d725
...
...
@@ -397,7 +397,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC832XEMDS.h
浏览文件 @
93f6d725
...
...
@@ -409,7 +409,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8349EMDS.h
浏览文件 @
93f6d725
...
...
@@ -476,7 +476,7 @@
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8349ITX.h
浏览文件 @
93f6d725
...
...
@@ -420,7 +420,7 @@ boards, we say we have two, but don't display a message if we find only one. */
#else
#define CFG_NO_FLASH
/* Flash is not usable now */
#undef CONFIG_FLASH_CFI_DRIVER
#define C
F
G_ENV_IS_NOWHERE
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8360EMDS.h
浏览文件 @
93f6d725
...
...
@@ -440,7 +440,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8360ERDK.h
浏览文件 @
93f6d725
...
...
@@ -345,7 +345,7 @@
#define CFG_ENV_SIZE 0x20000
#else
/* CFG_RAMBOOT */
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
/* CFG_RAMBOOT */
...
...
include/configs/MPC837XEMDS.h
浏览文件 @
93f6d725
...
...
@@ -427,7 +427,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC837XERDB.h
浏览文件 @
93f6d725
...
...
@@ -448,7 +448,7 @@
#define CFG_ENV_SIZE 0x4000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE-0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8540ADS.h
浏览文件 @
93f6d725
...
...
@@ -387,7 +387,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8540EVAL.h
浏览文件 @
93f6d725
...
...
@@ -256,7 +256,7 @@
/* Environment */
#ifndef CFG_RAMBOOT
#if defined(CONFIG_RAM_AS_FLASH)
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x100000)
#define CFG_ENV_SIZE 0x2000
#else
...
...
@@ -267,7 +267,7 @@
#define CFG_ENV_SIZE 0x2000
#else
/* #define CFG_NO_FLASH 1 */
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8560ADS.h
浏览文件 @
93f6d725
...
...
@@ -418,7 +418,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8610HPCD.h
浏览文件 @
93f6d725
...
...
@@ -443,7 +443,7 @@
#define CFG_ENV_SECT_SIZE 0x20000
/* 126k (one sector) for env */
#define CFG_ENV_SIZE 0x2000
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/MPC8641HPCN.h
浏览文件 @
93f6d725
...
...
@@ -509,7 +509,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CFG_ENV_SECT_SIZE 0x10000
/* 64K(one sector) for env */
#define CFG_ENV_SIZE 0x2000
#else
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/PM854.h
浏览文件 @
93f6d725
...
...
@@ -299,7 +299,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/PM856.h
浏览文件 @
93f6d725
...
...
@@ -299,7 +299,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/PN62.h
浏览文件 @
93f6d725
...
...
@@ -160,7 +160,7 @@
#define CFG_NO_FLASH 1
/* There is no FLASH memory */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_OFFSET 0x00004000
/* Offset of Environment Sector */
#define CFG_ENV_SIZE 0x00002000
/* Total Size of Environment Sector */
...
...
include/configs/SBC8540.h
浏览文件 @
93f6d725
...
...
@@ -333,7 +333,7 @@
/* Environment */
#if !defined(CFG_RAMBOOT)
#if defined(CONFIG_RAM_AS_FLASH)
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x100000)
#define CFG_ENV_SIZE 0x2000
#else
...
...
@@ -344,7 +344,7 @@
#endif
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/TQM834x.h
浏览文件 @
93f6d725
...
...
@@ -306,7 +306,7 @@ extern int tqm834x_num_flash_banks;
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/cm4008.h
浏览文件 @
93f6d725
...
...
@@ -52,7 +52,7 @@
/*
* select serial console configuration
*/
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CONFIG_SERIAL1
#define CONFIG_CONS_INDEX 1
#define CONFIG_BAUDRATE 115200
...
...
include/configs/cm41xx.h
浏览文件 @
93f6d725
...
...
@@ -52,7 +52,7 @@
/*
* select serial console configuration
*/
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CONFIG_SERIAL1
#define CONFIG_CONS_INDEX 1
#define CONFIG_BAUDRATE 115200
...
...
include/configs/dbau1x00.h
浏览文件 @
93f6d725
...
...
@@ -198,7 +198,7 @@
#define CFG_FLASH_ERASE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Write */
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Address and size of Primary Environment Sector */
#define CFG_ENV_ADDR 0xB0030000
...
...
include/configs/evb4510.h
浏览文件 @
93f6d725
...
...
@@ -172,7 +172,7 @@
/* environment settings */
#define CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x20000)
/* environment start address */
#define CFG_ENV_SECT_SIZE 0x10000
/* Total Size of Environment Sector */
...
...
include/configs/gr_cpci_ax2000.h
浏览文件 @
93f6d725
...
...
@@ -218,7 +218,7 @@
/*
* Environment settings
*/
/*#define C
F
G_ENV_IS_NOWHERE 1*/
/*#define C
ONFI
G_ENV_IS_NOWHERE 1*/
#define CFG_ENV_IS_IN_FLASH 1
/* CFG_ENV_ADDR need to be at sector boundary */
#define CFG_ENV_SIZE 0x8000
...
...
include/configs/gr_ep2s60.h
浏览文件 @
93f6d725
...
...
@@ -206,7 +206,7 @@
/*
* Environment settings
*/
/*#define C
F
G_ENV_IS_NOWHERE 1*/
/*#define C
ONFI
G_ENV_IS_NOWHERE 1*/
#define CFG_ENV_IS_IN_FLASH 1
/* CFG_ENV_ADDR need to be at sector boundary */
#define CFG_ENV_SIZE 0x8000
...
...
include/configs/gr_xc3s_1500.h
浏览文件 @
93f6d725
...
...
@@ -182,7 +182,7 @@
/*
* Environment settings
*/
/*#define C
F
G_ENV_IS_NOWHERE 1*/
/*#define C
ONFI
G_ENV_IS_NOWHERE 1*/
#define CFG_ENV_IS_IN_FLASH 1
/* CFG_ENV_ADDR need to be at sector boundary */
#define CFG_ENV_SIZE 0x8000
...
...
include/configs/grsim.h
浏览文件 @
93f6d725
...
...
@@ -209,7 +209,7 @@
/*
* Environment settings
*/
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
/*#define CFG_ENV_IS_IN_FLASH 0*/
/*#define CFG_ENV_SIZE 0x8000*/
#define CFG_ENV_SECT_SIZE 0x40000
...
...
include/configs/grsim_leon2.h
浏览文件 @
93f6d725
...
...
@@ -206,7 +206,7 @@
/*
* Environment settings
*/
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
/*#define CFG_ENV_IS_IN_FLASH 0*/
/*#define CFG_ENV_SIZE 0x8000*/
#define CFG_ENV_SECT_SIZE 0x40000
...
...
include/configs/gth2.h
浏览文件 @
93f6d725
...
...
@@ -153,7 +153,7 @@
#define CFG_FLASH_ERASE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Write */
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Address and size of Primary Environment Sector */
#define CFG_ENV_ADDR 0xB0030000
...
...
include/configs/hcu4.h
浏览文件 @
93f6d725
...
...
@@ -123,7 +123,7 @@
#undef CONFIG_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
#ifdef CONFIG_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM configuration */
...
...
include/configs/hcu5.h
浏览文件 @
93f6d725
...
...
@@ -109,7 +109,7 @@
#undef CONFIG_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef CONFIG_ENV_IS_IN_EEPROM
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
#ifdef CONFIG_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM and bootstrap configuration */
...
...
include/configs/integratorap.h
浏览文件 @
93f6d725
...
...
@@ -128,7 +128,7 @@
/*-----------------------------------------------------------------------
* FLASH and environment organization
*/
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CFG_MAX_FLASH_BANKS 1
/* max number of memory banks */
#define PHYS_FLASH_SIZE 0x01000000
/* 16MB */
/* timeout values are in ticks */
...
...
include/configs/mcu25.h
浏览文件 @
93f6d725
...
...
@@ -123,7 +123,7 @@
#undef CONFIG_ENV_IS_IN_NVRAM
#define CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
#ifdef CONFIG_ENV_IS_IN_EEPROM
/* Put the environment after the SDRAM configuration */
...
...
include/configs/ml401.h
浏览文件 @
93f6d725
...
...
@@ -161,7 +161,7 @@
#define CFG_FLASH_PROTECTION
/* hardware flash protection */
#ifdef RAMENV
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
#define CFG_ENV_SIZE 0x1000
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - CFG_ENV_SIZE)
...
...
@@ -174,7 +174,7 @@
#else
/* !FLASH */
/* ENV in RAM */
#define CFG_NO_FLASH 1
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
#define CFG_ENV_SIZE 0x1000
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - CFG_ENV_SIZE)
#define CFG_FLASH_PROTECTION
/* hardware flash protection */
...
...
include/configs/modnet50.h
浏览文件 @
93f6d725
...
...
@@ -171,7 +171,7 @@
/* environment settings */
#define CFG_ENV_IS_IN_FLASH
#undef C
F
G_ENV_IS_NOWHERE
#undef C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_ADDR 0x1001C000
/* environment start address */
#define CFG_ENV_SECT_SIZE 0x10000
/* Total Size of Environment Sector */
...
...
include/configs/ns9750dev.h
浏览文件 @
93f6d725
...
...
@@ -186,7 +186,7 @@
/* @TODO */
/*#define CFG_ENV_IS_IN_FLASH 1*/
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_SIZE 0x10000
/* Total Size of Environment Sector */
#ifdef CONFIG_STATUS_LED
...
...
include/configs/pb1x00.h
浏览文件 @
93f6d725
...
...
@@ -116,7 +116,7 @@
#define CFG_FLASH_ERASE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2 * CFG_HZ)
/* Timeout for Flash Write */
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Address and size of Primary Environment Sector */
#define CFG_ENV_ADDR 0xB0030000
...
...
include/configs/sbc8349.h
浏览文件 @
93f6d725
...
...
@@ -424,7 +424,7 @@
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/sbc8560.h
浏览文件 @
93f6d725
...
...
@@ -332,7 +332,7 @@
/* Environment */
#if !defined(CFG_RAMBOOT)
#if defined(CONFIG_RAM_AS_FLASH)
#define C
F
G_ENV_IS_NOWHERE
#define C
ONFI
G_ENV_IS_NOWHERE
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x100000)
#define CFG_ENV_SIZE 0x2000
#else
...
...
@@ -343,7 +343,7 @@
#endif
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/stxgp3.h
浏览文件 @
93f6d725
...
...
@@ -294,7 +294,7 @@
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1
/* Flash is not usable now */
#define C
F
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define C
ONFI
G_ENV_IS_NOWHERE 1
/* Store ENV in memory only */
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
#define CFG_ENV_SIZE 0x2000
#endif
...
...
include/configs/suzaku.h
浏览文件 @
93f6d725
...
...
@@ -90,7 +90,7 @@
/*-----------------------------------------------------------------------
* NVRAM organization
*/
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
#define CFG_ENV_SIZE 0x10000
/* Total Size of Environment Sector */
#define CFG_ENV_SECT_SIZE 0x10000
/* see README - env sector total size */
...
...
include/configs/versatile.h
浏览文件 @
93f6d725
...
...
@@ -185,7 +185,7 @@
#define PHYS_FLASH_1 (CFG_FLASH_BASE)
#define CFG_ENV_IS_IN_FLASH 1
/* env in flash instead of C
F
G_ENV_IS_NOWHERE */
#define CFG_ENV_IS_IN_FLASH 1
/* env in flash instead of C
ONFI
G_ENV_IS_NOWHERE */
#define CFG_ENV_SECT_SIZE 0x00020000
/* 256 KB sectors (x2) */
#define CFG_ENV_SIZE 0x10000
/* Total Size of Environment Sector */
#define CFG_ENV_OFFSET 0x01f00000
/* environment starts here */
...
...
include/configs/xupv2p.h
浏览文件 @
93f6d725
...
...
@@ -150,7 +150,7 @@
#define CFG_INIT_SP_OFFSET CFG_MALLOC_BASE
#define CFG_NO_FLASH 1
#define C
F
G_ENV_IS_NOWHERE 1
#define C
ONFI
G_ENV_IS_NOWHERE 1
#define CFG_ENV_SIZE 0x1000
#define CFG_ENV_ADDR (CFG_MONITOR_BASE - CFG_ENV_SIZE)
...
...
lib_avr32/board.c
浏览文件 @
93f6d725
...
...
@@ -261,7 +261,7 @@ void board_init_f(ulong board_type)
void
board_init_r
(
gd_t
*
new_gd
,
ulong
dest_addr
)
{
extern
void
malloc_bin_reloc
(
void
);
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
extern
char
*
env_name_spec
;
#endif
char
*
s
;
...
...
@@ -302,7 +302,7 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
}
/* there are some other pointer constants we must deal with */
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
env_name_spec
+=
gd
->
reloc_off
;
#endif
...
...
lib_m68k/board.c
浏览文件 @
93f6d725
...
...
@@ -443,7 +443,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
int
i
;
extern
void
malloc_bin_reloc
(
void
);
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
extern
char
*
env_name_spec
;
#endif
#ifndef CFG_NO_FLASH
...
...
@@ -494,7 +494,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
#endif
}
/* there are some other pointer constants we must deal with */
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
env_name_spec
+=
gd
->
reloc_off
;
#endif
...
...
lib_mips/board.c
浏览文件 @
93f6d725
...
...
@@ -308,7 +308,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
ulong
size
;
#endif
extern
void
malloc_bin_reloc
(
void
);
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
extern
char
*
env_name_spec
;
#endif
char
*
s
,
*
e
;
...
...
@@ -353,7 +353,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
#endif
}
/* there are some other pointer constants we must deal with */
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
env_name_spec
+=
gd
->
reloc_off
;
#endif
...
...
lib_ppc/board.c
浏览文件 @
93f6d725
...
...
@@ -651,7 +651,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
bd_t
*
bd
;
int
i
;
extern
void
malloc_bin_reloc
(
void
);
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
extern
char
*
env_name_spec
;
#endif
...
...
@@ -713,7 +713,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
#endif
}
/* there are some other pointer constants we must deal with */
#ifndef C
F
G_ENV_IS_NOWHERE
#ifndef C
ONFI
G_ENV_IS_NOWHERE
env_name_spec
+=
gd
->
reloc_off
;
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录