summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/setup.h
diff options
context:
space:
mode:
authorNoam Camus <noamc@ezchip.com>2015-05-29 11:40:02 +0300
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 09:32:33 +0530
commit085572f3cc88cf223f0dfdee2dcbb0672e938527 (patch)
tree464cf6a10c9709c8faaee94c9b34e64cc0db3a67 /arch/arc/include/asm/setup.h
parent46c3e6b8768643d9bc7325324d17e37781b7bbf8 (diff)
downloadlinux-085572f3cc88cf223f0dfdee2dcbb0672e938527.tar.bz2
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/include/asm/setup.h')
-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