From 11e8c6dc441a7ce0f0e183ed47bc1b87f88586d1 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Mon, 8 Jun 2020 07:59:55 -0700 Subject: [PATCH] ANDROID: arch: arm: Increase kernel command line size Android passes a lot of arguments via kernel command line. Current kernel command line is close to limit on a lot of devices. Increase kernel command line size to avoid cases when arguments are trimmed. Bug: 158450572 Change-Id: I998ce98b4d875e8bb435ba1dfd84d94506ac0319 Signed-off-by: Alistair Delva --- arch/arm/include/uapi/asm/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/uapi/asm/setup.h b/arch/arm/include/uapi/asm/setup.h index 25ceda63b284..4e30b5ea3573 100644 --- a/arch/arm/include/uapi/asm/setup.h +++ b/arch/arm/include/uapi/asm/setup.h @@ -17,7 +17,7 @@ #include -#define COMMAND_LINE_SIZE 1024 +#define COMMAND_LINE_SIZE 4096 /* The list ends with an ATAG_NONE node. */ #define ATAG_NONE 0x00000000