2020-05-18 13:50:07

by Chenggang Wang

[permalink] [raw]
Subject: [PATCH] arch/arm64: Enlarge arm64 command line length to 4096 bytes

Now android use many long command line, and oem need append some command
line to debug boot, so 2048 bytes cannot able to meet the requirement.
Enlarge arm64's command line length to 4096 bytes.

Signed-off-by: Chenggang Wang <[email protected]>
---
arch/arm64/include/uapi/asm/setup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/include/uapi/asm/setup.h
b/arch/arm64/include/uapi/asm/setup.h
index 5d703888f351..85e34aa784e0 100644
--- a/arch/arm64/include/uapi/asm/setup.h
+++ b/arch/arm64/include/uapi/asm/setup.h
@@ -22,6 +22,6 @@

#include <linux/types.h>

-#define COMMAND_LINE_SIZE 2048
+#define COMMAND_LINE_SIZE 4096

#endif
--
2.20.1