summaryrefslogtreecommitdiff
path: root/plat/allwinner
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-06-22 00:32:18 +0100
committerAndre Przywara <andre.przywara@arm.com>2018-06-28 23:47:30 +0100
commit6daab88fc2b96c8be5b5277137a67f3b970711e0 (patch)
treedf21b4f3a8addbbd6f40baea7dcb21ed80dbd9fa /plat/allwinner
parentdab901f83a9fd65aba53551301912375cf97a6d6 (diff)
allwinner: common: add missing header
Some code in sunxi_common.c requires symbols defined in sunxi_private.h, so add the header to that file. It was included via another header before, but let's make this explicit. Reported-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/allwinner')
-rw-r--r--plat/allwinner/common/sunxi_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/allwinner/common/sunxi_common.c b/plat/allwinner/common/sunxi_common.c
index e36c8b07..92ecde4b 100644
--- a/plat/allwinner/common/sunxi_common.c
+++ b/plat/allwinner/common/sunxi_common.c
@@ -9,6 +9,8 @@
#include <sunxi_def.h>
#include <xlat_tables_v2.h>
+#include "sunxi_private.h"
+
static mmap_region_t sunxi_mmap[PLATFORM_MMAP_REGIONS + 1] = {
MAP_REGION_FLAT(SUNXI_ROM_BASE, SUNXI_ROM_SIZE,
MT_MEMORY | MT_RO | MT_SECURE),