svn commit: r338641 - head/sys/conf

Emmanuel Vadot manu at FreeBSD.org
Thu Sep 13 14:08:11 UTC 2018


Author: manu
Date: Thu Sep 13 14:08:10 2018
New Revision: 338641
URL: https://svnweb.freebsd.org/changeset/base/338641

Log:
  arm64: Make aw_sid and aw_thermal depend on nvmem
  
  Both drivers use this interface so add a dependancy on it.
  Since awg uses aw_sid for generating the MAC address, make it
  depend on both aw_sid and nmvem so when only removing nvmem from
  kernel config it will not include this driver.
  
  Reported by:	sbruno
  Approved by:	re (gjb)

Modified:
  head/sys/conf/files.arm64

Modified: head/sys/conf/files.arm64
==============================================================================
--- head/sys/conf/files.arm64	Thu Sep 13 14:06:01 2018	(r338640)
+++ head/sys/conf/files.arm64	Thu Sep 13 14:08:10 2018	(r338641)
@@ -33,14 +33,14 @@ arm/allwinner/aw_nmi.c		optional	aw_nmi fdt \
 	compile-with "${NORMAL_C} -I$S/gnu/dts/include"
 arm/allwinner/aw_rsb.c		optional	aw_rsb fdt
 arm/allwinner/aw_rtc.c		optional	aw_rtc fdt
-arm/allwinner/aw_sid.c		optional	aw_sid fdt
+arm/allwinner/aw_sid.c		optional	aw_sid nvmem fdt
 arm/allwinner/aw_spi.c		optional	aw_spi fdt
 arm/allwinner/aw_syscon.c	optional	aw_syscon ext_resources syscon fdt
-arm/allwinner/aw_thermal.c	optional	aw_thermal fdt
+arm/allwinner/aw_thermal.c	optional	aw_thermal nvmem fdt
 arm/allwinner/aw_usbphy.c	optional	ehci aw_usbphy fdt
 arm/allwinner/aw_wdog.c		optional	aw_wdog fdt
 arm/allwinner/axp81x.c		optional	axp81x fdt
-arm/allwinner/if_awg.c		optional	awg ext_resources syscon fdt
+arm/allwinner/if_awg.c		optional	awg ext_resources syscon aw_sid nvmem fdt
 
 # Allwinner clock driver
 arm/allwinner/clkng/aw_ccung.c		optional	aw_ccu fdt


More information about the svn-src-all mailing list