summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-02-14 11:57:06 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2018-02-26 23:24:56 +0300
commitaa032bcabb7a317270c139469075a4e7177e9294 (patch)
treeb0c59a777d5edde38a882e71ed9f1cc1ab340453 /meta-rcar-gen3-adas
parent40525ae2c50c8b641b68a32795dd424e28fb0a56 (diff)
V3MSK: unify env variables in QSPI and fix cpld access
1) set env veriables in QSPI instead of eMMC 2) on VBM V2 the gp0_14 is used to disable conflicting with CPLD pin from CANFD transceiver
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0017-board-renesas-Add-V3MSK-board.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0017-board-renesas-Add-V3MSK-board.patch b/meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0017-board-renesas-Add-V3MSK-board.patch
index 306bc1b..34b7129 100644
--- a/meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0017-board-renesas-Add-V3MSK-board.patch
+++ b/meta-rcar-gen3-adas/recipes-bsp/u-boot/u-boot/0017-board-renesas-Add-V3MSK-board.patch
@@ -100,7 +100,7 @@ new file mode 100644
index 0000000..ffb0637
--- /dev/null
+++ b/board/renesas/v3msk/cpld.c
-@@ -0,0 +1,170 @@
+@@ -0,0 +1,172 @@
+/*
+ * V3MSK board CPLD access support
+ *
@@ -200,7 +200,9 @@ index 0000000..ffb0637
+ * we must shutdown this chip to use bb pins
+ */
+ gpio_request(GPIO_GP_0_12, NULL);
++ gpio_request(GPIO_GP_0_14, NULL);
+ gpio_direction_output(GPIO_GP_0_12, 1);
++ gpio_direction_output(GPIO_GP_0_14, 1);
+}
+
+static int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
@@ -758,8 +760,8 @@ index 0000000..225d462
+#define CONFIG_ENV_SIZE (CONFIG_ENV_SECT_SIZE)
+#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
+
-+#define CONFIG_ENV_IS_IN_MMC
-+//#define CONFIG_ENV_IS_IN_SPI_FLASH
++//#define CONFIG_ENV_IS_IN_MMC
++#define CONFIG_ENV_IS_IN_SPI_FLASH
+
+#if defined(CONFIG_ENV_IS_IN_MMC)
+/* Environment in eMMC, at the end of 2nd "boot sector" */