Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Add support OMAP_4430.
details: https://anonhg.NetBSD.org/src/rev/128bb31ac1a1
branches: trunk
changeset: 348344:128bb31ac1a1
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sat Oct 15 15:00:12 2016 +0000
description:
Add support OMAP_4430.
diffstat:
sys/arch/arm/omap/ti_iic.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r fad79b61054b -r 128bb31ac1a1 sys/arch/arm/omap/ti_iic.c
--- a/sys/arch/arm/omap/ti_iic.c Sat Oct 15 14:40:41 2016 +0000
+++ b/sys/arch/arm/omap/ti_iic.c Sat Oct 15 15:00:12 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_iic.c,v 1.7 2014/03/26 11:59:05 ozaki-r Exp $ */
+/* $NetBSD: ti_iic.c,v 1.8 2016/10/15 15:00:12 kiyohara Exp $ */
/*
* Copyright (c) 2013 Manuel Bouyer. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_iic.c,v 1.7 2014/03/26 11:59:05 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_iic.c,v 1.8 2016/10/15 15:00:12 kiyohara Exp $");
#include "opt_omap.h"
#include "locators.h"
@@ -183,6 +183,13 @@
obio->obio_addr == OMAP2_I2C2_BASE)
return 1;
#endif
+#if defined(OMAP_4430)
+ if (obio->obio_addr == 0x48070000 || /* I2C1 */
+ obio->obio_addr == 0x48072000 || /* I2C2 */
+ obio->obio_addr == 0x48060000 || /* I2C3 */
+ obio->obio_addr == 0x48350000) /* I2C4 */
+ return 1;
+#endif
return 0;
}
Home |
Main Index |
Thread Index |
Old Index