summaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-amlogic/platform_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/arch/arm/plat-amlogic/platform_config.h')
-rw-r--r--core/arch/arm/plat-amlogic/platform_config.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/arch/arm/plat-amlogic/platform_config.h b/core/arch/arm/plat-amlogic/platform_config.h
new file mode 100644
index 00000000..a791e469
--- /dev/null
+++ b/core/arch/arm/plat-amlogic/platform_config.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (c) 2020 Carlo Caione <ccaione@baylibre.com>
+ */
+
+#ifndef PLATFORM_CONFIG_H
+#define PLATFORM_CONFIG_H
+
+#include <mm/generic_ram_layout.h>
+
+/* Make stacks aligned to data cache line length */
+#define STACK_ALIGNMENT 64
+
+#define GIC_BASE 0xFFC01000
+#define GICC_OFFSET 0x2000
+#define GICD_OFFSET 0x1000
+
+#define CONSOLE_UART_BASE 0xFF803000
+
+#endif /*PLATFORM_CONFIG_H*/