[U-Boot] [PATCH v1 18/24] ARMv8/ls2085a: Switch to passing earlycon to kernel

York Sun yorksun at freescale.com
Tue Jan 6 22:18:56 CET 2015


From: Arnab Basu <arnab.basu at freescale.com>

Since Linux v3.16-rc1 earlyprintk has been removed for arm64.
Switch to using earlycon.

Signed-off-by: Arnab Basu <arnab.basu at freescale.com>
Signed-off-by: York Sun <yorksun at freescale.com>
---

 include/configs/ls2085a_common.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index 387f904..7e8d944 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -274,10 +274,10 @@
 	"kernel_size=0x1000000\0"		\
 	"console=ttyAMA0,38400n8\0"
 
-#define CONFIG_BOOTARGS			"console=ttyS1,115200 root=/dev/ram0 " \
-					"earlyprintk=uart8250-8bit,0x21c0600 " \
-					"default_hugepagesz=2m hugepagesz=2m " \
-					"hugepages=16"
+#define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
+				"earlycon=uart8250,mmio,0x21c0600,115200 " \
+				"default_hugepagesz=2m hugepagesz=2m " \
+				"hugepages=16"
 #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
 					"$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY		1
-- 
1.7.9.5



More information about the U-Boot mailing list