projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88353a9
)
85xx: Fix size of cpu-release-addr property
author
Kumar Gala
<galak@kernel.crashing.org>
Fri, 18 Apr 2008 16:29:01 +0000
(11:29 -0500)
committer
Andrew Fleming-AFLEMING
<afleming@freescale.com>
Fri, 18 Apr 2008 22:44:50 +0000
(17:44 -0500)
The cpu-release-addr is defined as always being a 64-bit quanity regardless
if we are running on a 32-bit or 64-bit machine.
cpu/mpc85xx/fdt.c
patch
|
blob
|
history
diff --git
a/cpu/mpc85xx/fdt.c
b/cpu/mpc85xx/fdt.c
index bde6d1e9630a876a5141f54748e3b48825771f2d..bb87740baa6a41fc2fe80ae73290bdbeecd59b85 100644
(file)
--- a/
cpu/mpc85xx/fdt.c
+++ b/
cpu/mpc85xx/fdt.c
@@
-52,7
+52,7
@@
void ft_fixup_cpu(void *blob, u64 memory_limit)
if (*reg == id) {
fdt_setprop_string(blob, off, "status", "okay");
} else {
- u
32
val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
+ u
64
val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
val = cpu_to_fdt32(val);
fdt_setprop_string(blob, off, "status",
"disabled");