microblaze: Extend space for compiled-in FDT to 32kB
authorMichal Simek <monstr@monstr.eu>
Wed, 13 Jul 2011 13:26:09 +0000 (15:26 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 23 Mar 2012 08:28:17 +0000 (09:28 +0100)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/head.S
arch/microblaze/kernel/vmlinux.lds.S

index a5ba9925ae8933965c3a71a5d09d3d53ab8b6fd5..441dad80558c9b4b33a906c5ecbc8f0ac580d8bb 100644 (file)
@@ -95,7 +95,7 @@ big_endian:
 _prepare_copy_fdt:
        or      r11, r0, r0 /* incremment */
        ori     r4, r0, TOPHYS(_fdt_start)
-       ori     r3, r0, (0x4000 - 4)
+       ori     r3, r0, (0x8000 - 4)
 _copy_fdt:
        lw      r12, r7, r11 /* r12 = r7 + r11 */
        sw      r12, r4, r11 /* addr[r4 + r11] = r12 */
index ac0e1a5d478248493ba652d8bc53ae56cf9046fd..109e9d86ade4e46051f25c1d375eac1cd9f83224 100644 (file)
@@ -44,7 +44,7 @@ SECTIONS {
        __fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) {
                _fdt_start = . ;                /* place for fdt blob */
                *(__fdt_blob) ;                 /* Any link-placed DTB */
-               . = _fdt_start + 0x4000;        /* Pad up to 16kbyte */
+               . = _fdt_start + 0x8000;        /* Pad up to 32kbyte */
                _fdt_end = . ;
        }