Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung add 5422 gic handling to attach code
details: https://anonhg.NetBSD.org/src/rev/4a36c86f0357
branches: trunk
changeset: 341708:4a36c86f0357
user: marty <marty%NetBSD.org@localhost>
date: Thu Nov 19 05:44:41 2015 +0000
description:
add 5422 gic handling to attach code
diffstat:
sys/arch/arm/samsung/exynos_soc.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r fa207304cfd7 -r 4a36c86f0357 sys/arch/arm/samsung/exynos_soc.c
--- a/sys/arch/arm/samsung/exynos_soc.c Thu Nov 19 03:03:04 2015 +0000
+++ b/sys/arch/arm/samsung/exynos_soc.c Thu Nov 19 05:44:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_soc.c,v 1.27 2014/12/29 22:58:59 skrll Exp $ */
+/* $NetBSD: exynos_soc.c,v 1.28 2015/11/19 05:44:41 marty Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.27 2014/12/29 22:58:59 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.28 2015/11/19 05:44:41 marty Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -634,6 +634,14 @@
mpcaa->mpcaa_off2 = EXYNOS5_GIC_IOP_CONTROLLER_OFFSET;
#endif
break;
+ case 0xe5422: {
+ struct mpcore_attach_args * const mpcaa = aux;
+
+ mpcaa->mpcaa_memh = EXYNOS_CORE_VBASE;
+ mpcaa->mpcaa_off1 = EXYNOS5_GIC_IOP_DISTRIBUTOR_OFFSET;
+ mpcaa->mpcaa_off2 = EXYNOS5_GIC_IOP_CONTROLLER_OFFSET;
+ break;
+ }
#endif
#ifdef EXYNOS4
case 0xe4410:
Home |
Main Index |
Thread Index |
Old Index