summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-17 18:28:03 +0000
committerandrew <andrew@FreeBSD.org>2016-02-17 18:28:03 +0000
commitd4f0d7c2ecb292300f4bad7796d25247ff1c6a72 (patch)
tree90fde4cff9211c6dd0a60945549cdaf00ea5f294 /sys/conf
parent0a576daa3e1a1006befbaa37f98b354b34ec5828 (diff)
downloadFreeBSD-src-d4f0d7c2ecb292300f4bad7796d25247ff1c6a72.zip
FreeBSD-src-d4f0d7c2ecb292300f4bad7796d25247ff1c6a72.tar.gz
Move the Allwinner kernels to use fdt_pinctrl. This will read the pin
configuration from the FDT data, then set the pins into the requested state. As part of this the gpio controller now reports the correct number of pins instead of returning the number of bank * 32. To allow for a future consolidated kernel we add the SOC_ALLWINNER_A10 and SOC_ALLWINNER_A20 kernel options. These need to be set as appropriate for the SoC the kernel will boot on. Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D5177
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options.arm2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/options.arm b/sys/conf/options.arm
index 7beae5b..75c916e 100644
--- a/sys/conf/options.arm
+++ b/sys/conf/options.arm
@@ -38,6 +38,8 @@ SOCDEV_PA opt_global.h
SOCDEV_VA opt_global.h
PV_STATS opt_pmap.h
QEMU_WORKAROUNDS opt_global.h
+SOC_ALLWINNER_A10 opt_global.h
+SOC_ALLWINNER_A20 opt_global.h
SOC_BCM2835 opt_global.h
SOC_BCM2836 opt_global.h
SOC_IMX51 opt_global.h
OpenPOWER on IntegriCloud