summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-04-23 15:38:17 +0200
committerStefan Roese <sr@denx.de>2007-04-23 15:38:17 +0200
commit6554ca06a8bee4317df7543f694dc39a9288ba14 (patch)
tree1ba21faad3123fd7e3c3c4cc980beac40181fa97 /common
parent38257988abfe74d459ca2ad748b109ca04e4efe1 (diff)
parent14da5f7675bbb427c469e3f45006e027b6e21db9 (diff)
downloadblackbird-obmc-uboot-6554ca06a8bee4317df7543f694dc39a9288ba14.tar.gz
blackbird-obmc-uboot-6554ca06a8bee4317df7543f694dc39a9288ba14.zip
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'common')
-rw-r--r--common/fdt_support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 91b729f37a..69099c4275 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -56,7 +56,7 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force)
}
if (initrd_start && initrd_end) {
- struct fdt_reserve_entry *re;
+ struct fdt_reserve_entry re;
int used;
int total;
int j;
@@ -77,7 +77,7 @@ int fdt_chosen(void *fdt, ulong initrd_start, ulong initrd_end, int force)
*/
for (j = 0; j < used; j++) {
err = fdt_get_reservemap(fdt, j, &re);
- if (re->address == initrd_start) {
+ if (re.address == initrd_start) {
break;
}
}
OpenPOWER on IntegriCloud