ARC: [plat-eznps] Use dedicated COMMAND_LINE_SIZE
authorNoam Camus <noamc@ezchip.com>
Fri, 29 May 2015 08:40:02 +0000 (11:40 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:33 +0000 (09:32 +0530)
The default 256 bytes sometimes is just not enough.
We usually provide earlycon=... and console=... and ip=...
All this and more may need more room.

Signed-off-by: Noam Camus <noamc@ezchip.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/setup.h

index 307846691be6ad7bcad8abcdc217af84ddec5609..48b37c693db39d6dd2e73df0671edbb01e3be3fa 100644 (file)
 #include <linux/types.h>
 #include <uapi/asm/setup.h>
 
+#ifdef CONFIG_ARC_PLAT_EZNPS
+#define COMMAND_LINE_SIZE 2048
+#else
 #define COMMAND_LINE_SIZE 256
+#endif
 
 /*
  * Data structure to map a ID to string