summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorNoam Camus <noamc@ezchip.com>2015-05-29 08:40:02 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 04:02:33 (GMT)
commit085572f3cc88cf223f0dfdee2dcbb0672e938527 (patch)
tree464cf6a10c9709c8faaee94c9b34e64cc0db3a67 /arch/arc
parent46c3e6b8768643d9bc7325324d17e37781b7bbf8 (diff)
downloadlinux-085572f3cc88cf223f0dfdee2dcbb0672e938527.tar.xz
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>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/include/asm/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/include/asm/setup.h b/arch/arc/include/asm/setup.h
index 3078466..48b37c6 100644
--- a/arch/arc/include/asm/setup.h
+++ b/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