projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update libfdt from device tree compiler (dtc)
[oweals/u-boot.git]
/
board
/
cm5200
/
cm5200.c
diff --git
a/board/cm5200/cm5200.c
b/board/cm5200/cm5200.c
index e2ab5b8e265faf1853ae1dfd84391679253b0c1b..4a86d3c5527b652ec2c339f32a7072010d67a745 100644
(file)
--- a/
board/cm5200/cm5200.c
+++ b/
board/cm5200/cm5200.c
@@
-276,7
+276,7
@@
static void ft_blob_update(void *blob, bd_t *bd)
memory_data[0] = cpu_to_be32(bd->bi_memstart);
memory_data[1] = cpu_to_be32(bd->bi_memsize);
memory_data[0] = cpu_to_be32(bd->bi_memstart);
memory_data[1] = cpu_to_be32(bd->bi_memsize);
- nodeoffset = fdt_
find_node_by_path
(blob, "/memory");
+ nodeoffset = fdt_
path_offset
(blob, "/memory");
if (nodeoffset >= 0) {
ret = fdt_setprop(blob, nodeoffset, "reg", memory_data,
sizeof(memory_data));
if (nodeoffset >= 0) {
ret = fdt_setprop(blob, nodeoffset, "reg", memory_data,
sizeof(memory_data));