Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 06:40:59 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335115 - in head/sys/modules: . rockchip rockchip/rk_i2c
Message-ID:  <201806140640.w5E6ex7e064074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Jun 14 06:40:59 2018
New Revision: 335115
URL: https://svnweb.freebsd.org/changeset/base/335115

Log:
  Add modules/rockchip
  
  Build rockchip modules as part of buildkernel.
  Add the i2c controller module.

Added:
  head/sys/modules/rockchip/
  head/sys/modules/rockchip/Makefile   (contents, props changed)
  head/sys/modules/rockchip/rk_i2c/
  head/sys/modules/rockchip/rk_i2c/Makefile   (contents, props changed)
Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Thu Jun 14 06:39:33 2018	(r335114)
+++ head/sys/modules/Makefile	Thu Jun 14 06:40:59 2018	(r335115)
@@ -331,6 +331,7 @@ SUBDIR=	\
 	${_rdrand_rng} \
 	re \
 	rl \
+	${_rockchip} \
 	rtwn \
 	rtwn_pci \
 	rtwn_usb \
@@ -563,6 +564,7 @@ _allwinner=	allwinner
 _armv8crypto=	armv8crypto
 _efirt=		efirt
 _em=		em
+_rockchip=	rockchip
 .endif
 
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"

Added: head/sys/modules/rockchip/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/rockchip/Makefile	Thu Jun 14 06:40:59 2018	(r335115)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# Build modules specific to RockChip.
+
+SUBDIR = \
+	rk_i2c \
+
+.include <bsd.subdir.mk>

Added: head/sys/modules/rockchip/rk_i2c/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/rockchip/rk_i2c/Makefile	Thu Jun 14 06:40:59 2018	(r335115)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/arm64/rockchip
+
+KMOD=	rk_i2c
+SRCS=	rk_i2c.c
+
+SRCS+=	\
+	bus_if.h \
+	clknode_if.h \
+	device_if.h \
+	iicbus_if.h \
+	ofw_bus_if.h \
+	opt_platform.h \
+
+.include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806140640.w5E6ex7e064074>