projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ENV macros to CONFIG_ENV
[platform/kernel/u-boot.git]
/
board
/
siemens
/
pcu_e
/
flash.c
diff --git
a/board/siemens/pcu_e/flash.c
b/board/siemens/pcu_e/flash.c
index
5b812cb
..
97b511e
100644
(file)
--- a/
board/siemens/pcu_e/flash.c
+++ b/
board/siemens/pcu_e/flash.c
@@
-25,14
+25,14
@@
#include <mpc8xx.h>
#if defined(CONFIG_ENV_IS_IN_FLASH)
#include <mpc8xx.h>
#if defined(CONFIG_ENV_IS_IN_FLASH)
-# ifndef C
F
G_ENV_ADDR
-# define C
FG_ENV_ADDR (CFG_FLASH_BASE + CF
G_ENV_OFFSET)
+# ifndef C
ONFI
G_ENV_ADDR
+# define C
ONFIG_ENV_ADDR (CFG_FLASH_BASE + CONFI
G_ENV_OFFSET)
# endif
# endif
-# ifndef C
F
G_ENV_SIZE
-# define C
FG_ENV_SIZE CF
G_ENV_SECT_SIZE
+# ifndef C
ONFI
G_ENV_SIZE
+# define C
ONFIG_ENV_SIZE CONFI
G_ENV_SECT_SIZE
# endif
# endif
-# ifndef C
F
G_ENV_SECT_SIZE
-# define C
FG_ENV_SECT_SIZE CF
G_ENV_SIZE
+# ifndef C
ONFI
G_ENV_SECT_SIZE
+# define C
ONFIG_ENV_SECT_SIZE CONFI
G_ENV_SIZE
# endif
#endif
# endif
#endif
@@
-154,8
+154,8
@@
unsigned long flash_init (void)
#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
- C
F
G_ENV_ADDR,
- C
FG_ENV_ADDR+CF
G_ENV_SECT_SIZE-1,
+ C
ONFI
G_ENV_ADDR,
+ C
ONFIG_ENV_ADDR+CONFI
G_ENV_SECT_SIZE-1,
&flash_info[0]);
#endif
&flash_info[0]);
#endif
@@
-181,8
+181,8
@@
unsigned long flash_init (void)
#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
#ifdef CONFIG_ENV_IS_IN_FLASH
/* ENV protection ON by default */
flash_protect(FLAG_PROTECT_SET,
- C
F
G_ENV_ADDR,
- C
FG_ENV_ADDR+CF
G_ENV_SECT_SIZE-1,
+ C
ONFI
G_ENV_ADDR,
+ C
ONFIG_ENV_ADDR+CONFI
G_ENV_SECT_SIZE-1,
&flash_info[1]);
#endif
/*
&flash_info[1]);
#endif
/*