[PATCH] arm: omap3: igep0020: Add console default kernel arguments

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Thu Dec 20 10:41:58 EST 2012


IGEP v2 boards has console as ttyO2,115200n8.
It's better so simply set this as the default kernel argument
directly in the device tree board file.

Cc: Enric Balletbo i Serra <eballetbo at gmail.com>
Cc: Javier Martinez Canillas <javier at dowhile0.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
---
 arch/arm/boot/dts/omap3-igep0020.dts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts
index e2b9849..45ffe21 100644
--- a/arch/arm/boot/dts/omap3-igep0020.dts
+++ b/arch/arm/boot/dts/omap3-igep0020.dts
@@ -15,6 +15,10 @@
 	model = "IGEPv2";
 	compatible = "isee,omap3-igep0020", "ti,omap3";
 
+	chosen {
+		bootargs = "console=ttyO2,115200n8 earlyprintk";
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		boot {
-- 
1.7.8.6




More information about the linux-arm-kernel mailing list