diff options
| author | Angelo Dureghello <[email protected]> | 2026-03-30 09:09:54 +0200 |
|---|---|---|
| committer | Angelo Dureghello <[email protected]> | 2026-05-04 22:19:49 +0200 |
| commit | 44684aabc2983cabab7056cf5840a04c97c42b1f (patch) | |
| tree | ac85644883104ef48eda9677b7fbf15797c6a501 | |
| parent | 07d824e5bbc17ecc00a5b0afd24963d27a3fca94 (diff) | |
m68k: set proper u-boot image size for initial boot
There is a value of 256K hardcoded as u-boot image size. This
produce bank tty as soon as the image size grows over the limit.
Fix it by using value preset by CONFIG_SYS_MONITOR_LEN.
Signed-off-by: Angelo Dureghello <[email protected]>
| -rw-r--r-- | arch/m68k/cpu/mcf5445x/start.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/cpu/mcf5445x/start.S b/arch/m68k/cpu/mcf5445x/start.S index f0264671d38..ae0e7c35d87 100644 --- a/arch/m68k/cpu/mcf5445x/start.S +++ b/arch/m68k/cpu/mcf5445x/start.S @@ -114,7 +114,7 @@ vector192_255: /* Image header: chksum 4 bytes, len 4 bytes, img dest 4 bytes */ asm_sbf_img_hdr: .long 0x00000000 /* checksum, not yet implemented */ - .long 0x00040000 /* image length */ + .long CONFIG_SYS_MONITOR_LEN /* image length */ .long CONFIG_TEXT_BASE /* image to be relocated at */ asm_dram_init: @@ -292,7 +292,6 @@ asm_dspi_rd_status: move.b (%a3), %d1 rts #endif /* CONFIG_CF_SBF */ - #ifdef CONFIG_SYS_NAND_BOOT /* copy 4 boot pages to dram as soon as possible */ /* each page is 996 bytes (1056 total with 60 ECC bytes */ |
