Commit 3a1d2676 authored by Michal Simek's avatar Michal Simek

microblaze: Extend space for compiled-in FDT to 32kB

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 173701d7
...@@ -95,7 +95,7 @@ big_endian: ...@@ -95,7 +95,7 @@ big_endian:
_prepare_copy_fdt: _prepare_copy_fdt:
or r11, r0, r0 /* incremment */ or r11, r0, r0 /* incremment */
ori r4, r0, TOPHYS(_fdt_start) ori r4, r0, TOPHYS(_fdt_start)
ori r3, r0, (0x4000 - 4) ori r3, r0, (0x8000 - 4)
_copy_fdt: _copy_fdt:
lw r12, r7, r11 /* r12 = r7 + r11 */ lw r12, r7, r11 /* r12 = r7 + r11 */
sw r12, r4, r11 /* addr[r4 + r11] = r12 */ sw r12, r4, r11 /* addr[r4 + r11] = r12 */
......
...@@ -44,7 +44,7 @@ SECTIONS { ...@@ -44,7 +44,7 @@ SECTIONS {
__fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) { __fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) {
_fdt_start = . ; /* place for fdt blob */ _fdt_start = . ; /* place for fdt blob */
*(__fdt_blob) ; /* Any link-placed DTB */ *(__fdt_blob) ; /* Any link-placed DTB */
. = _fdt_start + 0x4000; /* Pad up to 16kbyte */ . = _fdt_start + 0x8000; /* Pad up to 32kbyte */
_fdt_end = . ; _fdt_end = . ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment