Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/matt-nb8-mediatek]: src/sys/arch/arm/cortex Add Cortex-A35 devices



details:   https://anonhg.NetBSD.org/src/rev/ee1f26c10c96
branches:  matt-nb8-mediatek
changeset: 851110:ee1f26c10c96
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 13 01:03:41 2017 +0000

description:
Add Cortex-A35 devices

diffstat:

 sys/arch/arm/cortex/armperiph.c |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 144d67d4c434 -r ee1f26c10c96 sys/arch/arm/cortex/armperiph.c
--- a/sys/arch/arm/cortex/armperiph.c   Wed Dec 13 01:01:07 2017 +0000
+++ b/sys/arch/arm/cortex/armperiph.c   Wed Dec 13 01:03:41 2017 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: armperiph.c,v 1.11 2017/05/26 21:17:46 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: armperiph.c,v 1.11.6.1 2017/12/13 01:03:41 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -106,6 +106,14 @@
 };
 #endif
 
+#ifdef CPU_CORTEXA35
+static const struct armperiph_info a35_devices[] = {
+       { "armgic",  0, 0x4000 },
+       { "armgtmr", 0, 0 },
+       { "", 0, 0 },
+};
+#endif
+
 #ifdef CPU_CORTEXA57
 static const struct armperiph_info a57_devices[] = {
        { "armgic",  0x1000, 0x2000 },
@@ -135,6 +143,9 @@
 #ifdef CPU_CORTEXA17
        { a17_devices, 0x410fc0e0, 8*4096 },
 #endif
+#ifdef CPU_CORTEXA35
+       { a35_devices, 0x410fd040, 8*4096 },
+#endif
 #ifdef CPU_CORTEXA57
        { a57_devices, 0x410fd070, 8*4096 },
 #endif



Home | Main Index | Thread Index | Old Index