summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2019-06-10 22:54:19 +0900
committerDongjin Kim <tobetter@gmail.com>2019-06-17 23:51:14 +0900
commit659c49ace25d996353c94a730610a8234912a211 (patch)
tree1d39b1e802c6b7421fda9eaf2480e3681788a60d /arch
parentf9d9190dbdb69976fe070a718b17d24c4a0583f2 (diff)
downloadu-boot-odroid-c1-659c49ace25d996353c94a730610a8234912a211.tar.gz
ODROID-C3/N2: arch/arm: fix to COMMAND_LINE_SIZE as 2048 bytes for ARM64
This patch is to set the COMMAND_LINE_SIZE same as the kernel one which is defined in 'arch/arm64/include/uapi/asm/setup.h'. Change-Id: I4a23441957632f0601b310273ffe8c7a6ce09d9b Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/setup.h b/arch/arm/include/asm/setup.h
index 78a7facfc3..016ca470ce 100644
--- a/arch/arm/include/asm/setup.h
+++ b/arch/arm/include/asm/setup.h
@@ -30,7 +30,11 @@
* - this structure is relatively short-lived - only
* guaranteed to contain useful data in setup_arch()
*/
+#if defined(CONFIG_ARM64)
+#define COMMAND_LINE_SIZE 2048
+#else
#define COMMAND_LINE_SIZE 1024
+#endif
/* This is the old deprecated way to pass parameters to the kernel */
struct param_struct {