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]
/
cpu
/
ppc4xx
/
cpu.c
diff --git
a/cpu/ppc4xx/cpu.c
b/cpu/ppc4xx/cpu.c
index
bc9335a
..
66a7737
100644
(file)
--- a/
cpu/ppc4xx/cpu.c
+++ b/
cpu/ppc4xx/cpu.c
@@
-629,14
+629,14
@@
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#if defined(CONFIG_BOARD_RESET)
board_reset();
#else
#if defined(CONFIG_BOARD_RESET)
board_reset();
#else
-#if defined(C
FG
_4xx_RESET_TYPE)
- mtspr(dbcr0, C
FG
_4xx_RESET_TYPE << 28);
+#if defined(C
ONFIG_SYS
_4xx_RESET_TYPE)
+ mtspr(dbcr0, C
ONFIG_SYS
_4xx_RESET_TYPE << 28);
#else
/*
* Initiate system reset in debug control register DBCR
*/
mtspr(dbcr0, 0x30000000);
#else
/*
* Initiate system reset in debug control register DBCR
*/
mtspr(dbcr0, 0x30000000);
-#endif /* defined(C
FG
_4xx_RESET_TYPE) */
+#endif /* defined(C
ONFIG_SYS
_4xx_RESET_TYPE) */
#endif /* defined(CONFIG_BOARD_RESET) */
return 1;
#endif /* defined(CONFIG_BOARD_RESET) */
return 1;