* [U-Boot] [PATCH] armv8: ls2085a: Update bootargs as per default target console
@ 2015-08-02 3:41 Prabhakar Kushwaha
2015-09-02 2:44 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2015-08-02 3:41 UTC (permalink / raw)
To: u-boot
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>
---
include/configs/ls2085a_common.h | 4 ++--
include/configs/ls2085ardb.h | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index 7ee6001..5dd2b0a 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -262,8 +262,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 " \
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index 6a5528e..c1c1572 100644
--- a/include/configs/ls2085ardb.h
+++ b/include/configs/ls2085ardb.h
@@ -326,6 +326,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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] armv8: ls2085a: Update bootargs as per default target console
2015-08-02 3:41 [U-Boot] [PATCH] armv8: ls2085a: Update bootargs as per default target console Prabhakar Kushwaha
@ 2015-09-02 2:44 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-09-02 2:44 UTC (permalink / raw)
To: u-boot
On 08/01/2015 10:41 PM, Prabhakar Kushwaha wrote:
> 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>
> ---
Applied to fsl-qoriq master branch. Awaiting upstream.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-02 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-02 3:41 [U-Boot] [PATCH] armv8: ls2085a: Update bootargs as per default target console Prabhakar Kushwaha
2015-09-02 2:44 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox