summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-04-20 22:53:34 +0200
committerWolfgang Denk <wd@denx.de>2011-04-20 22:53:34 +0200
commitd7eb184af828ebde3834af2a0d54421fd1a57f63 (patch)
tree4f7fcae48f91aeabf7c18eab6482b3ed21350b26
parentafe0414b2e7cdd2d0536b2a45550758c62ee31e6 (diff)
parentd13ffa66aff1d9aed9081986492fb74c1a61a4a9 (diff)
downloadu-boot-imx-d7eb184af828ebde3834af2a0d54421fd1a57f63.zip
u-boot-imx-d7eb184af828ebde3834af2a0d54421fd1a57f63.tar.gz
u-boot-imx-d7eb184af828ebde3834af2a0d54421fd1a57f63.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-fdt
-rw-r--r--common/fdt_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 6c98e5b..edcf04a 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -394,7 +394,7 @@ int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks)
{
int err, nodeoffset;
int addr_cell_len, size_cell_len, len;
- u8 tmp[banks * 8];
+ u8 tmp[banks * 16]; /* Up to 64-bit address + 64-bit size */
int bank;
err = fdt_check_header(blob);