svn commit: r346897 - in head/sys: conf powerpc/conf

Leandro Lupori luporl at FreeBSD.org
Mon Apr 29 16:50:34 UTC 2019


Author: luporl
Date: Mon Apr 29 16:50:33 2019
New Revision: 346897
URL: https://svnweb.freebsd.org/changeset/base/346897

Log:
  [PPC64] Turn opal_flash.c into a device
  
  This change makes it easier to enable/disable the inclusion of
  OPAL flash in the kernel.
  
  Reviewed by:	jhibbits
  Differential Revision:	https://reviews.freebsd.org/D20098

Modified:
  head/sys/conf/files.powerpc
  head/sys/powerpc/conf/GENERIC64

Modified: head/sys/conf/files.powerpc
==============================================================================
--- head/sys/conf/files.powerpc	Mon Apr 29 16:27:15 2019	(r346896)
+++ head/sys/conf/files.powerpc	Mon Apr 29 16:50:33 2019	(r346897)
@@ -191,7 +191,7 @@ powerpc/powernv/opal.c		optional	powernv
 powerpc/powernv/opal_async.c	optional	powernv
 powerpc/powernv/opal_console.c	optional	powernv
 powerpc/powernv/opal_dev.c	optional	powernv
-powerpc/powernv/opal_flash.c	optional	powernv
+powerpc/powernv/opal_flash.c	optional	powernv opalflash
 powerpc/powernv/opal_hmi.c	optional	powernv
 powerpc/powernv/opal_i2c.c	optional	iicbus fdt powernv
 powerpc/powernv/opal_i2cm.c	optional	iicbus fdt powernv

Modified: head/sys/powerpc/conf/GENERIC64
==============================================================================
--- head/sys/powerpc/conf/GENERIC64	Mon Apr 29 16:27:15 2019	(r346896)
+++ head/sys/powerpc/conf/GENERIC64	Mon Apr 29 16:50:33 2019	(r346897)
@@ -236,6 +236,7 @@ device		powermac_nvram	# Open Firmware configuration N
 device		smu		# Apple System Management Unit
 device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
 device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
+device		opalflash	# PowerNV embedded flash memory
 
 # ADB support
 device		adb


More information about the svn-src-head mailing list