summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-08 15:44:41 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-01-08 15:44:41 +0300
commit4ea0b3d2ed152f0f248dbd2f564857693f473875 (patch)
tree1f0d972abb3da9e4b057c4220b46faa8b92d3785 /meta-rcar-gen3-adas/recipes-kernel/linux
parentdefc4efcf6c6bb6cd6dc0741bb0864d885aed9dc (diff)
RDRIVE: set console to serial0 alias
This avoid adding extra line in /etc/securetty for RDRIVE, since first serial device was SCIF2 (ttySC0) and the SCIF1 is second (ttySC1). This patch removes tty on SCIF2 and enbles only SCIF1 console. Hene it is possible to use common ULCB rootfs without changing of securetty.
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch16
1 files changed, 4 insertions, 12 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
index c692768..8603c0b 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
@@ -6526,7 +6526,7 @@ new file mode 100644
index 0000000..d50ff7a
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-had.dtsi
-@@ -0,0 +1,225 @@
+@@ -0,0 +1,221 @@
+/*
+ * Device Tree Source for the H3ULCB.HAD board on r8a7795 ES1.x
+ *
@@ -6549,15 +6549,11 @@ index 0000000..d50ff7a
+ model = "Renesas H3ULCB.HAD board based on r8a7795";
+
+ aliases {
-+ serial1 = &scif1;
++ serial0 = &scif1;
+ spi1 = &spi0_gpio;
+ spi2 = &spi1_gpio;
+ };
+
-+ chosen {
-+ stdout-path = "serial1:115200n8";
-+ };
-+
+ spi0_gpio: spi_gpio@0 {
+ compatible = "spi-gpio";
+ num-chipselects = <1>;
@@ -8076,7 +8072,7 @@ new file mode 100644
index 0000000..4a00426
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-had.dtsi
-@@ -0,0 +1,219 @@
+@@ -0,0 +1,215 @@
+/*
+ * Device Tree Source for the H3ULCB.HAD board on r8a7795
+ *
@@ -8099,15 +8095,11 @@ index 0000000..4a00426
+ model = "Renesas H3ULCB.HAD board based on r8a7795";
+
+ aliases {
-+ serial1 = &scif1;
++ serial0 = &scif1;
+ spi1 = &spi0_gpio;
+ spi2 = &spi1_gpio;
+ };
+
-+ chosen {
-+ stdout-path = "serial1:115200n8";
-+ };
-+
+ spi0_gpio: spi_gpio@0 {
+ compatible = "spi-gpio";
+ num-chipselects = <1>;