]> git.sur5r.net Git - u-boot/commitdiff
ARMv8/ls2085a: Switch to passing earlycon to kernel
authorArnab Basu <arnab.basu@freescale.com>
Tue, 6 Jan 2015 21:18:56 +0000 (13:18 -0800)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:09:52 +0000 (13:09 -0800)
Since Linux v3.16-rc1 earlyprintk has been removed for arm64.
Switch to using earlycon.

Signed-off-by: Arnab Basu <arnab.basu@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
include/configs/ls2085a_common.h

index 387f90470584f2c63a5c4fc5d5a2015f400f3391..7e8d944dff71feead5049e8c7e76e4ff3feef97c 100644 (file)
        "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