[PATCH 3/3] powerpc: Bump BOOT_COMMAND_LINE_SIZE to 2048

Anton Blanchard anton at samba.org
Mon Apr 14 21:55:25 EST 2014


Bump the boot wrapper BOOT_COMMAND_LINE_SIZE to match the
kernel.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

We export this in an ELF section so userspace tools can edit it.
We should be safe so long as we are only increasing it shouldn't we?

Index: b/arch/powerpc/boot/ops.h
===================================================================
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -15,7 +15,7 @@
 #include "types.h"
 #include "string.h"
 
-#define	BOOT_COMMAND_LINE_SIZE	512
+#define	BOOT_COMMAND_LINE_SIZE	2048
 #define	MAX_PATH_LEN		256
 #define	MAX_PROP_LEN		256 /* What should this be? */
 


More information about the Linuxppc-dev mailing list