summaryrefslogtreecommitdiff
path: root/include/configs/hikey.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-04 01:09:53 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:13:09 -0400
commit21845825608af7fbc5513e4fbf812426df437302 (patch)
treef63c53b16e1023d33b0441d3710736d2cfb57d0f /include/configs/hikey.h
parent9b5b8b6ee19de9b6c1a701e8e6faa16ffe951a58 (diff)
hikey: Add MMU tables
The hikey runs with dcache disabled today. There really should be no reason not to use caches on AArch64, so let's add MMU definitions and enable the dcache. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/configs/hikey.h')
-rw-r--r--include/configs/hikey.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index 993b8b1b9f..263c562915 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -21,8 +21,9 @@
#define CONFIG_SUPPORT_RAW_INITRD
-/* Cache Definitions */
-#define CONFIG_SYS_DCACHE_OFF
+/* MMU Definitions */
+#define CONFIG_SYS_CACHELINE_SIZE 64
+#define CONFIG_SYS_FULL_VA
#define CONFIG_IDENT_STRING "hikey"