blob: ee28f54cbb7e99471777c582ce87aba45a943574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
From 7f02156690e01573ae1ffe27593cd2031cb8ce77 Mon Sep 17 00:00:00 2001
From: "Andrew F. Davis" <afd@ti.com>
Date: Fri, 9 Sep 2016 10:00:57 -0500
Subject: [PATCH 6/6] plat-ti: Add AM57xx EVM platform flavor
The AM57xx EVM flavor is based on the DRA7x EVM exept that is has more
memory and uses a different UART port. Add this EVM here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
---
core/arch/arm/plat-ti/platform_config.h | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/core/arch/arm/plat-ti/platform_config.h b/core/arch/arm/plat-ti/platform_config.h
index 045cb1a..559cd9e 100644
--- a/core/arch/arm/plat-ti/platform_config.h
+++ b/core/arch/arm/plat-ti/platform_config.h
@@ -97,6 +97,29 @@
#define GIC_BASE 0x48211000
#define SECRAM_BASE 0x40200000
+#elif defined(PLATFORM_FLAVOR_am57xx_evm)
+
+#define DRAM0_BASE 0xfe900000
+#define DRAM0_SIZE 0x01700000
+
+#ifdef CFG_WITH_PAGER
+#error Pager not supported on this platform
+#endif /*CFG_WITH_PAGER*/
+
+/* Location of protected DDR on the AM57xx EVM */
+#define TZDRAM_BASE 0xfe900000
+#define TZDRAM_SIZE 0x01300000
+
+#define CFG_TEE_CORE_NB_CORE 2
+
+/* UART3 */
+#define CONSOLE_UART_BASE 0x48020000
+#define CONSOLE_UART_CLK_IN_HZ 48000000
+#define UART_BAUDRATE 115200
+
+#define GIC_BASE 0x48211000
+#define SECRAM_BASE 0x40200000
+
#else
#error "Unknown platform flavor"
#endif
--
2.7.4
|