提交 3a1d2676 编写于 作者: M Michal Simek

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

Signed-off-by: NMichal Simek <monstr@monstr.eu>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册