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
/
wuh405
/
wuh405.c
diff --git
a/board/esd/wuh405/wuh405.c
b/board/esd/wuh405/wuh405.c
index
3a94fd8
..
5eca3bd
100644
(file)
--- a/
board/esd/wuh405/wuh405.c
+++ b/
board/esd/wuh405/wuh405.c
@@
-92,8
+92,8
@@
int misc_init_r (void)
int index;
int i;
int index;
int i;
- dst = malloc(C
FG
_FPGA_MAX_SIZE);
- if (gunzip (dst, C
FG
_FPGA_MAX_SIZE, (uchar *)fpgadata, &len) != 0) {
+ dst = malloc(C
ONFIG_SYS
_FPGA_MAX_SIZE);
+ if (gunzip (dst, C
ONFIG_SYS
_FPGA_MAX_SIZE, (uchar *)fpgadata, &len) != 0) {
printf ("GUNZIP ERROR - must RESET board to recover\n");
do_reset (NULL, 0, 0, NULL);
}
printf ("GUNZIP ERROR - must RESET board to recover\n");
do_reset (NULL, 0, 0, NULL);
}
@@
-155,9
+155,9
@@
int misc_init_r (void)
/*
* Reset external DUARTs
*/
/*
* Reset external DUARTs
*/
- out32(GPIO0_OR, in32(GPIO0_OR) | C
FG
_DUART_RST); /* set reset to high */
+ out32(GPIO0_OR, in32(GPIO0_OR) | C
ONFIG_SYS
_DUART_RST); /* set reset to high */
udelay(10); /* wait 10us */
udelay(10); /* wait 10us */
- out32(GPIO0_OR, in32(GPIO0_OR) & ~C
FG
_DUART_RST); /* set reset to low */
+ out32(GPIO0_OR, in32(GPIO0_OR) & ~C
ONFIG_SYS
_DUART_RST); /* set reset to low */
udelay(1000); /* wait 1ms */
/*
udelay(1000); /* wait 1ms */
/*