summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorNoam Camus2015-05-29 10:40:02 +0200
committerVineet Gupta2016-05-09 06:02:33 +0200
commit085572f3cc88cf223f0dfdee2dcbb0672e938527 (patch)
tree464cf6a10c9709c8faaee94c9b34e64cc0db3a67 /arch/arc
parentARC: [plat-eznps] Use dedicated cpu_relax() (diff)
downloadkernel-qcow2-linux-085572f3cc88cf223f0dfdee2dcbb0672e938527.tar.gz
kernel-qcow2-linux-085572f3cc88cf223f0dfdee2dcbb0672e938527.tar.xz
kernel-qcow2-linux-085572f3cc88cf223f0dfdee2dcbb0672e938527.zip
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 307846691be6..48b37c693db3 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