projects
/
oweals
/
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
[oweals/u-boot.git]
/
board
/
siemens
/
SMN42
/
flash.c
diff --git
a/board/siemens/SMN42/flash.c
b/board/siemens/SMN42/flash.c
old mode 100755
(executable)
new mode 100644
(file)
index
e80df0b
..
ae64096
--- a/
board/siemens/SMN42/flash.c
+++ b/
board/siemens/SMN42/flash.c
@@
-25,8
+25,7
@@
#include <asm/byteorder.h>
#include <asm/arch/hardware.h>
#include <asm/byteorder.h>
#include <asm/arch/hardware.h>
-static unsigned long flash_addr_table[CFG_MAX_FLASH_BANKS]
- = CFG_FLASH_BANKS_LIST;
+static unsigned long flash_addr_table[CFG_MAX_FLASH_BANKS] = CFG_FLASH_BANKS_LIST;
flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
extern int lpc2292_copy_buffer_to_flash(flash_info_t *, ulong);
flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
extern int lpc2292_copy_buffer_to_flash(flash_info_t *, ulong);
@@
-71,8
+70,8
@@
ulong flash_init (void)
&flash_info[0]);
flash_protect (FLAG_PROTECT_SET,
&flash_info[0]);
flash_protect (FLAG_PROTECT_SET,
- C
F
G_ENV_ADDR,
- C
FG_ENV_ADDR + CF
G_ENV_SIZE - 1,
+ C
ONFI
G_ENV_ADDR,
+ C
ONFIG_ENV_ADDR + CONFI
G_ENV_SIZE - 1,
&flash_info[0]);
size += ext_flash_init();
&flash_info[0]);
size += ext_flash_init();