* [PATCH v2] ARM: dts: zynq: Fix stdout-path and bootargs
@ 2015-02-12 9:43 Michal Simek
2015-02-12 10:17 ` Mark Rutland
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2015-02-12 9:43 UTC (permalink / raw)
To: linux-arm-kernel
parallella - Remove linux,stdout-path.
Use stdout-path to identify kernel console
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Remove linux,stdout-path reported by Mark Rutland
- Use stdout-path new console description with setting
- Change patch subject from "ARM: dts: zynq: Add linux,stdout-path and
stdout-path"
- Do not add 1/2 patch which added aliases node to zybo and parallella
arch/arm/boot/dts/zynq-parallella.dts | 4 ++--
arch/arm/boot/dts/zynq-zc702.dts | 3 ++-
arch/arm/boot/dts/zynq-zc706.dts | 3 ++-
arch/arm/boot/dts/zynq-zed.dts | 3 ++-
arch/arm/boot/dts/zynq-zybo.dts | 3 ++-
5 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/zynq-parallella.dts b/arch/arm/boot/dts/zynq-parallella.dts
index 6a5f51daa708..e1e5b2423d26 100644
--- a/arch/arm/boot/dts/zynq-parallella.dts
+++ b/arch/arm/boot/dts/zynq-parallella.dts
@@ -34,8 +34,8 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
- linux,stdout-path = "/amba/serial at e0001000";
+ bootargs = "earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
+ stdout-path = "serial0:115200n8";
};
};
diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
index 1fc1d3911e9b..fb59d34e8ee6 100644
--- a/arch/arm/boot/dts/zynq-zc702.dts
+++ b/arch/arm/boot/dts/zynq-zc702.dts
@@ -30,7 +30,8 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
leds {
diff --git a/arch/arm/boot/dts/zynq-zc706.dts b/arch/arm/boot/dts/zynq-zc706.dts
index 850518d9b8ac..abf5d238ae04 100644
--- a/arch/arm/boot/dts/zynq-zc706.dts
+++ b/arch/arm/boot/dts/zynq-zc706.dts
@@ -30,7 +30,8 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
usb_phy0: phy0 {
diff --git a/arch/arm/boot/dts/zynq-zed.dts b/arch/arm/boot/dts/zynq-zed.dts
index 5658bc8434de..b9f2522012e8 100644
--- a/arch/arm/boot/dts/zynq-zed.dts
+++ b/arch/arm/boot/dts/zynq-zed.dts
@@ -29,7 +29,8 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
usb_phy0: phy0 {
diff --git a/arch/arm/boot/dts/zynq-zybo.dts b/arch/arm/boot/dts/zynq-zybo.dts
index 935a561f6aa6..16c9cacd668d 100644
--- a/arch/arm/boot/dts/zynq-zybo.dts
+++ b/arch/arm/boot/dts/zynq-zybo.dts
@@ -29,7 +29,8 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
};
};
--
1.8.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] ARM: dts: zynq: Fix stdout-path and bootargs
2015-02-12 9:43 [PATCH v2] ARM: dts: zynq: Fix stdout-path and bootargs Michal Simek
@ 2015-02-12 10:17 ` Mark Rutland
0 siblings, 0 replies; 2+ messages in thread
From: Mark Rutland @ 2015-02-12 10:17 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Feb 12, 2015 at 09:43:16AM +0000, Michal Simek wrote:
> parallella - Remove linux,stdout-path.
> Use stdout-path to identify kernel console
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
It's nice to see this in use!
Acked-by: Mark Rutland <mark.rutland@arm.com>
Mark.
> ---
>
> Changes in v2:
> - Remove linux,stdout-path reported by Mark Rutland
> - Use stdout-path new console description with setting
> - Change patch subject from "ARM: dts: zynq: Add linux,stdout-path and
> stdout-path"
> - Do not add 1/2 patch which added aliases node to zybo and parallella
>
> arch/arm/boot/dts/zynq-parallella.dts | 4 ++--
> arch/arm/boot/dts/zynq-zc702.dts | 3 ++-
> arch/arm/boot/dts/zynq-zc706.dts | 3 ++-
> arch/arm/boot/dts/zynq-zed.dts | 3 ++-
> arch/arm/boot/dts/zynq-zybo.dts | 3 ++-
> 5 files changed, 10 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/zynq-parallella.dts b/arch/arm/boot/dts/zynq-parallella.dts
> index 6a5f51daa708..e1e5b2423d26 100644
> --- a/arch/arm/boot/dts/zynq-parallella.dts
> +++ b/arch/arm/boot/dts/zynq-parallella.dts
> @@ -34,8 +34,8 @@
> };
>
> chosen {
> - bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
> - linux,stdout-path = "/amba/serial at e0001000";
> + bootargs = "earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
> + stdout-path = "serial0:115200n8";
> };
> };
>
> diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
> index 1fc1d3911e9b..fb59d34e8ee6 100644
> --- a/arch/arm/boot/dts/zynq-zc702.dts
> +++ b/arch/arm/boot/dts/zynq-zc702.dts
> @@ -30,7 +30,8 @@
> };
>
> chosen {
> - bootargs = "console=ttyPS0,115200 earlyprintk";
> + bootargs = "earlyprintk";
> + stdout-path = "serial0:115200n8";
> };
>
> leds {
> diff --git a/arch/arm/boot/dts/zynq-zc706.dts b/arch/arm/boot/dts/zynq-zc706.dts
> index 850518d9b8ac..abf5d238ae04 100644
> --- a/arch/arm/boot/dts/zynq-zc706.dts
> +++ b/arch/arm/boot/dts/zynq-zc706.dts
> @@ -30,7 +30,8 @@
> };
>
> chosen {
> - bootargs = "console=ttyPS0,115200 earlyprintk";
> + bootargs = "earlyprintk";
> + stdout-path = "serial0:115200n8";
> };
>
> usb_phy0: phy0 {
> diff --git a/arch/arm/boot/dts/zynq-zed.dts b/arch/arm/boot/dts/zynq-zed.dts
> index 5658bc8434de..b9f2522012e8 100644
> --- a/arch/arm/boot/dts/zynq-zed.dts
> +++ b/arch/arm/boot/dts/zynq-zed.dts
> @@ -29,7 +29,8 @@
> };
>
> chosen {
> - bootargs = "console=ttyPS0,115200 earlyprintk";
> + bootargs = "earlyprintk";
> + stdout-path = "serial0:115200n8";
> };
>
> usb_phy0: phy0 {
> diff --git a/arch/arm/boot/dts/zynq-zybo.dts b/arch/arm/boot/dts/zynq-zybo.dts
> index 935a561f6aa6..16c9cacd668d 100644
> --- a/arch/arm/boot/dts/zynq-zybo.dts
> +++ b/arch/arm/boot/dts/zynq-zybo.dts
> @@ -29,7 +29,8 @@
> };
>
> chosen {
> - bootargs = "console=ttyPS0,115200 earlyprintk";
> + bootargs = "earlyprintk";
> + stdout-path = "serial0:115200n8";
> };
>
> };
> --
> 1.8.2.3
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-12 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12 9:43 [PATCH v2] ARM: dts: zynq: Fix stdout-path and bootargs Michal Simek
2015-02-12 10:17 ` Mark Rutland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).