On the AM335X, writes to the padconf registers must be done in privileged mode. To allow userspace drivers to dynamically change the padconf at runtime, a kernel call has been added. Change-Id: I4b25d2879399b1785a360912faa0e90b5c258533
17 lines
242 B
Makefile
17 lines
242 B
Makefile
# Makefile for the gpio driver.
|
|
PROG= gpio
|
|
SRCS= gpio.c
|
|
|
|
DPADD+= ${LIBBLOCKDRIVER} ${LIBSYS}
|
|
LDADD+= -lvtreefs -lsys -lgpio -lclkconf
|
|
|
|
#
|
|
# This is a system driver.
|
|
CPPFLAGS+= -D_SYSTEM=1
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
.include <minix.service.mk>
|