summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/fdt.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-24 15:28:05 +0200
committerWolfgang Denk <wd@denx.de>2008-04-24 15:28:05 +0200
commit0aa88c82667b9241107d7a0248c341db877e7e76 (patch)
treed2677d095d79df773451315c6ee2f134aec5c233 /cpu/mpc85xx/fdt.c
parent876b8f978982216ab4a22dcd9efddfcd9b0e04e6 (diff)
parent0878af169b181868a105b5c33f3a6423e2c9fd60 (diff)
downloadu-boot-imx-0aa88c82667b9241107d7a0248c341db877e7e76.zip
u-boot-imx-0aa88c82667b9241107d7a0248c341db877e7e76.tar.gz
u-boot-imx-0aa88c82667b9241107d7a0248c341db877e7e76.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Diffstat (limited to 'cpu/mpc85xx/fdt.c')
-rw-r--r--cpu/mpc85xx/fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c
index bde6d1e..bb87740 100644
--- 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 {
- u32 val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
+ u64 val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
val = cpu_to_fdt32(val);
fdt_setprop_string(blob, off, "status",
"disabled");