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
/
freescale
/
m548xevb
/
m548xevb.c
diff --git
a/board/freescale/m548xevb/m548xevb.c
b/board/freescale/m548xevb/m548xevb.c
index
e6510c9
..
4a2a5c7
100644
(file)
--- a/
board/freescale/m548xevb/m548xevb.c
+++ b/
board/freescale/m548xevb/m548xevb.c
@@
-44,49
+44,49
@@
phys_size_t initdram(int board_type)
volatile sdram_t *sdram = (volatile sdram_t *)(MMAP_SDRAM);
u32 dramsize, i;
volatile sdram_t *sdram = (volatile sdram_t *)(MMAP_SDRAM);
u32 dramsize, i;
- siu->drv = C
FG
_SDRAM_DRVSTRENGTH;
+ siu->drv = C
ONFIG_SYS
_SDRAM_DRVSTRENGTH;
- dramsize = C
FG
_DRAMSZ * 0x100000;
+ dramsize = C
ONFIG_SYS
_DRAMSZ * 0x100000;
for (i = 0x13; i < 0x20; i++) {
if (dramsize == (1 << i))
break;
}
i--;
for (i = 0x13; i < 0x20; i++) {
if (dramsize == (1 << i))
break;
}
i--;
- siu->cs0cfg = (C
FG
_SDRAM_BASE | i);
+ siu->cs0cfg = (C
ONFIG_SYS
_SDRAM_BASE | i);
-#ifdef C
FG
_DRAMSZ1
- temp = C
FG
_DRAMSZ1 * 0x100000;
+#ifdef C
ONFIG_SYS
_DRAMSZ1
+ temp = C
ONFIG_SYS
_DRAMSZ1 * 0x100000;
for (i = 0x13; i < 0x20; i++) {
if (temp == (1 << i))
break;
}
i--;
dramsize += temp;
for (i = 0x13; i < 0x20; i++) {
if (temp == (1 << i))
break;
}
i--;
dramsize += temp;
- siu->cs1cfg = ((C
FG
_SDRAM_BASE + temp) | i);
+ siu->cs1cfg = ((C
ONFIG_SYS
_SDRAM_BASE + temp) | i);
#endif
#endif
- sdram->cfg1 = C
FG
_SDRAM_CFG1;
- sdram->cfg2 = C
FG
_SDRAM_CFG2;
+ sdram->cfg1 = C
ONFIG_SYS
_SDRAM_CFG1;
+ sdram->cfg2 = C
ONFIG_SYS
_SDRAM_CFG2;
/* Issue PALL */
/* Issue PALL */
- sdram->ctrl = C
FG
_SDRAM_CTRL | 2;
+ sdram->ctrl = C
ONFIG_SYS
_SDRAM_CTRL | 2;
/* Issue LEMR */
/* Issue LEMR */
- sdram->mode = C
FG
_SDRAM_EMOD;
- sdram->mode = (C
FG
_SDRAM_MODE | 0x04000000);
+ sdram->mode = C
ONFIG_SYS
_SDRAM_EMOD;
+ sdram->mode = (C
ONFIG_SYS
_SDRAM_MODE | 0x04000000);
udelay(500);
/* Issue PALL */
udelay(500);
/* Issue PALL */
- sdram->ctrl = (C
FG
_SDRAM_CTRL | 2);
+ sdram->ctrl = (C
ONFIG_SYS
_SDRAM_CTRL | 2);
/* Perform two refresh cycles */
/* Perform two refresh cycles */
- sdram->ctrl = C
FG
_SDRAM_CTRL | 4;
- sdram->ctrl = C
FG
_SDRAM_CTRL | 4;
+ sdram->ctrl = C
ONFIG_SYS
_SDRAM_CTRL | 4;
+ sdram->ctrl = C
ONFIG_SYS
_SDRAM_CTRL | 4;
- sdram->mode = C
FG
_SDRAM_MODE;
+ sdram->mode = C
ONFIG_SYS
_SDRAM_MODE;
- sdram->ctrl = (C
FG
_SDRAM_CTRL & ~0x80000000) | 0x10000F00;
+ sdram->ctrl = (C
ONFIG_SYS
_SDRAM_CTRL & ~0x80000000) | 0x10000F00;
udelay(100);
udelay(100);