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_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
board
/
esd
/
ash405
/
flash.c
diff --git
a/board/esd/ash405/flash.c
b/board/esd/ash405/flash.c
index
89af119
..
274ada9
100644
(file)
--- a/
board/esd/ash405/flash.c
+++ b/
board/esd/ash405/flash.c
@@
-48,7
+48,7
@@
unsigned long flash_init (void)
int size_val = 0;
/* Init: no FLASHes known */
int size_val = 0;
/* Init: no FLASHes known */
- for (i=0; i<C
FG
_MAX_FLASH_BANKS; ++i) {
+ for (i=0; i<C
ONFIG_SYS
_MAX_FLASH_BANKS; ++i) {
flash_info[i].flash_id = FLASH_UNKNOWN;
}
flash_info[i].flash_id = FLASH_UNKNOWN;
}
@@
-91,7
+91,7
@@
unsigned long flash_init (void)
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
- -C
FG
_MONITOR_LEN,
+ -C
ONFIG_SYS
_MONITOR_LEN,
0xffffffff,
&flash_info[0]);
0xffffffff,
&flash_info[0]);