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
/
eXalion
/
eXalion.c
diff --git
a/board/eXalion/eXalion.c
b/board/eXalion/eXalion.c
index
c5dff24
..
34538c4
100644
(file)
--- a/
board/eXalion/eXalion.c
+++ b/
board/eXalion/eXalion.c
@@
-56,12
+56,12
@@
int checkflash (void)
phys_size_t initdram (int board_type)
{
int i, cnt;
phys_size_t initdram (int board_type)
{
int i, cnt;
- volatile uchar *base = C
FG
_SDRAM_BASE;
+ volatile uchar *base = C
ONFIG_SYS
_SDRAM_BASE;
volatile ulong *addr;
ulong save[32];
ulong val, ret = 0;
volatile ulong *addr;
ulong save[32];
ulong val, ret = 0;
- for (i = 0, cnt = (C
FG
_MAX_RAM_SIZE / sizeof (long)) >> 1; cnt > 0;
+ for (i = 0, cnt = (C
ONFIG_SYS
_MAX_RAM_SIZE / sizeof (long)) >> 1; cnt > 0;
cnt >>= 1) {
addr = (volatile ulong *) base + cnt;
save[i++] = *addr;
cnt >>= 1) {
addr = (volatile ulong *) base + cnt;
save[i++] = *addr;
@@
-77,7
+77,7
@@
phys_size_t initdram (int board_type)
goto Done;
}
goto Done;
}
- for (cnt = 1; cnt <= C
FG
_MAX_RAM_SIZE / sizeof (long); cnt <<= 1) {
+ for (cnt = 1; cnt <= C
ONFIG_SYS
_MAX_RAM_SIZE / sizeof (long); cnt <<= 1) {
addr = (volatile ulong *) base + cnt;
val = *addr;
*addr = save[--i];
addr = (volatile ulong *) base + cnt;
val = *addr;
*addr = save[--i];
@@
-100,7
+100,7
@@
phys_size_t initdram (int board_type)
}
}
}
}
- ret = C
FG
_MAX_RAM_SIZE;
+ ret = C
ONFIG_SYS
_MAX_RAM_SIZE;
Done:
return ret;
}
Done:
return ret;
}