Browse Source

ARC: [plat-eznps] Use dedicated COMMAND_LINE_SIZE

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>
Noam Camus 10 years ago
parent
commit
085572f3cc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/arc/include/asm/setup.h

+ 4 - 0
arch/arc/include/asm/setup.h

@@ -12,7 +12,11 @@
 #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