* [U-Boot-Users] [PATCH] Fix out-of-range operand error in mpc83xx/start.S
@ 2006-07-14 15:45 Timur Tabi
0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2006-07-14 15:45 UTC (permalink / raw)
To: u-boot
CHANGELOG
* Fixed syntax error in function init_e300_core() of mpc83xx/start.S if
CONFIG_WATCHDOG is defined. An out-of-range constant was changed to its
negative equivalent to make the compiler happy.
Signed-off-by: Timur Tabi <timur@freescale.com>
---
cpu/mpc83xx/start.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
482af05a0aa630b1380b332804d491ed01149815
diff --git a/cpu/mpc83xx/start.S b/cpu/mpc83xx/start.S
index 6e02cce..0ca4f4f 100644
--- a/cpu/mpc83xx/start.S
+++ b/cpu/mpc83xx/start.S
@@ -458,7 +458,7 @@ init_e300_core: /* time t 10 */
li r4, 0x556C
sth r4, SWSRR at l(r3)
- li r4, 0xAA39
+ li r4, -0x55C7 /* Equivalent to 0xAA39 */
sth r4, SWSRR at l(r3)
#else
/* Disable Wathcdog */
--
1.2.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] Fix out-of-range operand error in mpc83xx/start.S
@ 2006-07-11 21:03 Timur Tabi
0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2006-07-11 21:03 UTC (permalink / raw)
To: u-boot
CONFIG_WATCHDOG is not normally defined, which is why this coding error doesn't show up.
Signed-off-by: Timur Tabi <timur@freescale.com>
---
cpu/mpc83xx/start.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
482af05a0aa630b1380b332804d491ed01149815
diff --git a/cpu/mpc83xx/start.S b/cpu/mpc83xx/start.S
index 6e02cce..0ca4f4f 100644
--- a/cpu/mpc83xx/start.S
+++ b/cpu/mpc83xx/start.S
@@ -458,7 +458,7 @@ init_e300_core: /* time t 10 */
li r4, 0x556C
sth r4, SWSRR at l(r3)
- li r4, 0xAA39
+ li r4, -0x55C7 /* Equivalent to 0xAA39 */
sth r4, SWSRR at l(r3)
#else
/* Disable Wathcdog */
--
1.2.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-14 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14 15:45 [U-Boot-Users] [PATCH] Fix out-of-range operand error in mpc83xx/start.S Timur Tabi
-- strict thread matches above, loose matches on Subject: below --
2006-07-11 21:03 Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox