mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +00:00
5ca8e32633
Move the code from the arm specific to the iicbus controller directory. Split up between general logic and bus attachment code. Add support for ACPI attachment in addition to FDT. MFC after: 7 days Tested by: bz (LS1088a FDT), Pierre-Luc Drouin (Honeycomb, ACPI) Based on: D24917 by Val Packett (initial early version) Differential Revision: https://reviews.freebsd.org/D44020
15 lines
299 B
Makefile
15 lines
299 B
Makefile
.PATH: ${SRCTOP}/sys/dev/iicbus/controller/vybrid
|
|
|
|
KMOD= vf_i2c
|
|
SRCS= vf_i2c.c vf_i2c.h
|
|
SRCS+= device_if.h bus_if.h iicbus_if.h
|
|
SRCS+= opt_acpi.h opt_platform.h
|
|
|
|
SRCS.DEV_ACPI= vf_i2c_acpi.c acpi_if.h
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= vf_i2c_fdt.c ofw_bus_if.h clknode_if.h
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|