projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b2f13
)
PPC: Bamboo: Fix memory size DT property
author
Alexander Graf
<agraf@suse.de>
Sat, 6 Oct 2012 00:02:05 +0000
(
02:02
+0200)
committer
Alexander Graf
<agraf@suse.de>
Mon, 29 Oct 2012 10:45:54 +0000
(11:45 +0100)
Device tree properties need to be specified in big endian. Fix the
bamboo memory size property accordingly.
Signed-off-by: Alexander Graf <agraf@suse.de>
CC: qemu-stable@nongnu.org
hw/ppc440_bamboo.c
patch
|
blob
|
history
diff --git
a/hw/ppc440_bamboo.c
b/hw/ppc440_bamboo.c
index a6b1d51faeaf3b733bb2a82a4b7e5094cd69678a..cc85607cb7d5196d6a8dedf940296ce9deafe63a 100644
(file)
--- a/
hw/ppc440_bamboo.c
+++ b/
hw/ppc440_bamboo.c
@@
-59,7
+59,7
@@
static int bamboo_load_device_tree(hwaddr addr,
{
int ret = -1;
#ifdef CONFIG_FDT
- uint32_t mem_reg_property[] = { 0, 0,
ramsize
};
+ uint32_t mem_reg_property[] = { 0, 0,
cpu_to_be32(ramsize)
};
char *filename;
int fdt_size;
void *fdt;