]> git.sur5r.net Git - u-boot/commitdiff
armv8: ls2085a: Update bootargs as per default target console
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Sun, 2 Aug 2015 03:41:44 +0000 (09:11 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 02:38:11 +0000 (21:38 -0500)
LS2085 targets supports following UART console
 LS2085AQDS UART0
 LS2085ARDB UART1
 LS2085ASim UART0
 LS2085AEmu UART0

So update the bootargs as per the default console present at the target

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls2085a_common.h
include/configs/ls2085ardb.h

index 39fb464593c50c228ab85f55abce7ab6e3edf79c..cd0190496e16f1cafd3d094d723b9d6d16eac345 100644 (file)
@@ -250,8 +250,8 @@ unsigned long long get_qixis_addr(void);
        "kernel_size=0x2800000\0"               \
        "console=ttyAMA0,38400n8\0"
 
-#define CONFIG_BOOTARGS                "console=ttyS1,115200 root=/dev/ram0 " \
-                               "earlycon=uart8250,mmio,0x21c0600,115200 " \
+#define CONFIG_BOOTARGS                "console=ttyS0,115200 root=/dev/ram0 " \
+                               "earlycon=uart8250,mmio,0x21c0500,115200 " \
                                "ramdisk_size=0x2000000 default_hugepagesz=2m" \
                                " hugepagesz=2m hugepages=16"
 #define CONFIG_BOOTCOMMAND             "cp.b $kernel_start $kernel_load "     \
index aee12162572b12290fe56fa05c496400bc5cfd10..a190bc7c707e368f371d95c7e53349bb0a1198e2 100644 (file)
@@ -321,6 +321,12 @@ unsigned long get_board_sys_clk(void);
        "kernel_load=0xa0000000\0"              \
        "kernel_size=0x2800000\0"
 
+#undef CONFIG_BOOTARGS
+#define CONFIG_BOOTARGS                "console=ttyS1,115200 root=/dev/ram0 " \
+                               "earlycon=uart8250,mmio,0x21c0600,115200 " \
+                               "ramdisk_size=0x2000000 default_hugepagesz=2m" \
+                               " hugepagesz=2m hugepages=16"
+
 /* MAC/PHY configuration */
 #ifdef CONFIG_FSL_MC_ENET
 #define CONFIG_PHYLIB_10G