2015-11-07 11:00:52

by Noam Camus

[permalink] [raw]
Subject: [PATCH v2 17/19] ARC: [plat-eznps] Use dedicated COMMAND_LINE_SIZE

From: Noam Camus <[email protected]>

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 <[email protected]>
Acked-by: Vineet Gupta <[email protected]>
---
arch/arc/include/asm/setup.h | 4 ++++
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
--
1.7.1