diff mbox series

qemu-arm: set CONFIG_SYS_BOOTM_LEN to SZ_64M

Message ID 1579052501-65674-1-git-send-email-dphadke@linux.microsoft.com
State Accepted
Commit c7c0233235542db090bbe0b75ee6ae0dbcc43bac
Headers show
Series qemu-arm: set CONFIG_SYS_BOOTM_LEN to SZ_64M | expand

Commit Message

Dhananjay Phadke Jan. 15, 2020, 1:41 a.m. UTC
FIT image contents can be larger than default bootm limit 8M
with initrd. Raise limit to 64MB which is commonly used
elsewhere.

Signed-off-by: Dhananjay Phadke <dphadke at linux.microsoft.com>
---

 include/configs/qemu-arm.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bin Meng Jan. 15, 2020, 2:06 p.m. UTC | #1
On Wed, Jan 15, 2020 at 7:27 PM Dhananjay Phadke
<dphadke at linux.microsoft.com> wrote:
>
> FIT image contents can be larger than default bootm limit 8M
> with initrd. Raise limit to 64MB which is commonly used
> elsewhere.
>
> Signed-off-by: Dhananjay Phadke <dphadke at linux.microsoft.com>
> ---
>
>  include/configs/qemu-arm.h | 2 ++
>  1 file changed, 2 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tom Rini Jan. 23, 2020, 10:01 p.m. UTC | #2
On Tue, Jan 14, 2020 at 05:41:41PM -0800, Dhananjay Phadke wrote:

> FIT image contents can be larger than default bootm limit 8M
> with initrd. Raise limit to 64MB which is commonly used
> elsewhere.
> 
> Signed-off-by: Dhananjay Phadke <dphadke at linux.microsoft.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index fb599c9510..1ef75a8783 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -17,6 +17,8 @@ 
 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + SZ_2M)
 #define CONFIG_SYS_MALLOC_LEN		SZ_16M
 
+#define CONFIG_SYS_BOOTM_LEN		SZ_64M
+
 /* For timer, QEMU emulates an ARMv7/ARMv8 architected timer */
 #define CONFIG_SYS_HZ                       1000