diff mbox

[v4,6/6] ARM: shmobile: ape6evm dts: Drop console= bootargs parameter

Message ID 1424185486-3017-7-git-send-email-geert+renesas@glider.be (mailing list archive)
State Accepted
Commit d1e21e3f57513c5ac09d722590f5ad6eee7ae1df
Delegated to: Simon Horman
Headers show

Commit Message

Geert Uytterhoeven Feb. 17, 2015, 3:04 p.m. UTC
Since ("ARM: shmobile: r8a73a4: ape6evm: Remove legacy platform"),
ape6evm is restricted to booting from DT, so chosen/stdout-path is
always used, and we can drop the "console=" parameter from
chosen/bootargs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v4:
  - New.
---
 arch/arm/boot/dts/r8a73a4-ape6evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Rutland Feb. 17, 2015, 3:16 p.m. UTC | #1
On Tue, Feb 17, 2015 at 03:04:46PM +0000, Geert Uytterhoeven wrote:
> Since ("ARM: shmobile: r8a73a4: ape6evm: Remove legacy platform"),
> ape6evm is restricted to booting from DT, so chosen/stdout-path is
> always used, and we can drop the "console=" parameter from
> chosen/bootargs.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> v4:
>   - New.
> ---
>  arch/arm/boot/dts/r8a73a4-ape6evm.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> index 44c4cac1820a4dfe..f9e81512201a2ec4 100644
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> @@ -22,7 +22,7 @@
>  	};
>  
>  	chosen {
> -		bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
> +		bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp rw";
>  		stdout-path = &scifa0;

I'd strongly recommend that you also pass the configuration explicitly
here, so as to avoid nasty surprises. For that you can either use a path
or an alias, depending on what the rest of your DT looks like:

	stdout-path = "/path/to/scifa0:115200n8"

	stdout-path = "serial0:115200n8"

Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index 44c4cac1820a4dfe..f9e81512201a2ec4 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -22,7 +22,7 @@ 
 	};
 
 	chosen {
-		bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
+		bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp rw";
 		stdout-path = &scifa0;
 	};