Skip to content

Commit 22648c9

Browse files
Siva Durga Prasad PaladuguMichal Simek
authored andcommitted
microblaze: Increase max dtb size to 64K from 32K
This patch increases max dtb size to 64K from 32K. This fixes the issue of kernel hang with larger dtb of size greater than 32KB. Signed-off-by: Siva Durga Prasad Paladugu <[email protected]> Signed-off-by: Michal Simek <[email protected]>
1 parent 6bf8be7 commit 22648c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/microblaze/kernel/head.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ big_endian:
9999
_prepare_copy_fdt:
100100
or r11, r0, r0 /* incremment */
101101
ori r4, r0, TOPHYS(_fdt_start)
102-
ori r3, r0, (0x8000 - 4)
102+
ori r3, r0, (0x10000 - 4)
103103
_copy_fdt:
104104
lw r12, r7, r11 /* r12 = r7 + r11 */
105105
sw r12, r4, r11 /* addr[r4 + r11] = r12 */

arch/microblaze/kernel/vmlinux.lds.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SECTIONS {
4646
__fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) {
4747
_fdt_start = . ; /* place for fdt blob */
4848
*(__fdt_blob) ; /* Any link-placed DTB */
49-
. = _fdt_start + 0x8000; /* Pad up to 32kbyte */
49+
. = _fdt_start + 0x10000; /* Pad up to 64kbyte */
5050
_fdt_end = . ;
5151
}
5252

0 commit comments

Comments
 (0)