projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc/85xx: Introduce low level write_tlb function
[oweals/u-boot.git]
/
cpu
/
mpc824x
/
cpu.c
diff --git
a/cpu/mpc824x/cpu.c
b/cpu/mpc824x/cpu.c
index 0a45cc8419f610544969abd7600d85f033d09c8e..08f6a947f410435e33410a86a5889d82809ea121 100644
(file)
--- a/
cpu/mpc824x/cpu.c
+++ b/
cpu/mpc824x/cpu.c
@@
-109,17
+109,17
@@
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
* Trying to execute the next instruction at a non-existing address
* should cause a machine check, resulting in reset
*/
* Trying to execute the next instruction at a non-existing address
* should cause a machine check, resulting in reset
*/
-#ifdef C
FG
_RESET_ADDRESS
- addr = C
FG
_RESET_ADDRESS;
+#ifdef C
ONFIG_SYS
_RESET_ADDRESS
+ addr = C
ONFIG_SYS
_RESET_ADDRESS;
#else
/*
#else
/*
- * note: when C
FG
_MONITOR_BASE points to a RAM address,
- * C
FG
_MONITOR_BASE - sizeof (ulong) is usually a valid
+ * note: when C
ONFIG_SYS
_MONITOR_BASE points to a RAM address,
+ * C
ONFIG_SYS
_MONITOR_BASE - sizeof (ulong) is usually a valid
* address. Better pick an address known to be invalid on
* address. Better pick an address known to be invalid on
- * your system and assign it to C
FG
_RESET_ADDRESS.
+ * your system and assign it to C
ONFIG_SYS
_RESET_ADDRESS.
* "(ulong)-1" used to be a good choice for many systems...
*/
* "(ulong)-1" used to be a good choice for many systems...
*/
- addr = C
FG
_MONITOR_BASE - sizeof (ulong);
+ addr = C
ONFIG_SYS
_MONITOR_BASE - sizeof (ulong);
#endif
((void (*)(void)) addr) ();
return 1;
#endif
((void (*)(void)) addr) ();
return 1;