Kconfig 1.0 KB
Newer Older
1 2 3
config DTC
	bool

4 5 6
config OF
	bool

7 8 9
menu "Flattened Device Tree and Open Firmware support"
	depends on OF

10 11 12 13 14 15 16 17
config PROC_DEVICETREE
	bool "Support for device tree in /proc"
	depends on PROC_FS && !SPARC
	help
	  This option adds a device-tree directory under /proc which contains
	  an image of the device tree that the kernel copies from Open
	  Firmware or other boot firmware. If unsure, say Y here.

18 19
config OF_FLATTREE
	bool
20
	select DTC
21

22 23
config OF_DYNAMIC
	def_bool y
24
	depends on PPC_OF
25

G
Grant Likely 已提交
26 27
config OF_ADDRESS
	def_bool y
28
	depends on !SPARC
G
Grant Likely 已提交
29

30 31
config OF_IRQ
	def_bool y
32
	depends on !SPARC
33

34 35
config OF_DEVICE
	def_bool y
36 37 38

config OF_GPIO
	def_bool y
39
	depends on GPIOLIB && !SPARC
40 41
	help
	  OpenFirmware GPIO accessors
42 43

config OF_I2C
44
	def_tristate I2C
45
	depends on I2C && !SPARC
46 47
	help
	  OpenFirmware I2C accessors
48 49 50

config OF_SPI
	def_tristate SPI
51
	depends on SPI && !SPARC
52 53
	help
	  OpenFirmware SPI accessors
54 55 56

config OF_MDIO
	def_tristate PHYLIB
57
	depends on PHYLIB
58 59
	help
	  OpenFirmware MDIO bus (Ethernet PHY) accessors
60 61

endmenu # OF