summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-03 12:52:48 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2018-04-11 23:11:55 +0200
commit9a5483e9df9557c1387e9a0c15c881e6f0278448 (patch)
tree47c711b15c403fd03ca259320e3d2dcbab78edd9 /include/configs
parentc670607331dbdfdf74a52117b96426c50de9ecd0 (diff)
ARM: rmobile: Add TPL support on R8A7791 M2 Porter
Add and enable TPL on M2 Porter. The TPL must fit into 16 kiB due to the Gen2 BootROM restriction. The TPL is running from MERAM and is capable of performing the initial initialization of PFC, Clock, GPIO, LBSC, DBSC and QSPI NOR. DBSC is responsible for bringing up the DDR DRAM access. The TPL is capable of loading the next stage, U-Boot, from either SPI NOR or UART as a fallback. If either does provide a valid U-Boot uImage, the system stops, which allows the operator to load U-Boot ie. via JTAG and start it manually. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/porter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/porter.h b/include/configs/porter.h
index 48f433486c..7c46b55d8f 100644
--- a/include/configs/porter.h
+++ b/include/configs/porter.h
@@ -59,4 +59,10 @@
#define CONFIG_SPL_MAX_SIZE 0x40000
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x140000
+/* TPL support */
+#ifdef CONFIG_TPL_BUILD
+#define CONFIG_CONS_SCIF0
+#define CONFIG_SH_SCIF_CLK_FREQ 65000000
+#endif
+
#endif /* __PORTER_H */