Kconfig 1.1 KB
Newer Older
1 2 3
config DTC
	bool

4 5 6
config OF
	bool

7
menu "Device Tree and Open Firmware support"
8 9
	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 24
config OF_PROMTREE
	bool

25 26
config OF_DYNAMIC
	def_bool y
27
	depends on PPC_OF
28

G
Grant Likely 已提交
29 30
config OF_ADDRESS
	def_bool y
31
	depends on !SPARC
G
Grant Likely 已提交
32

33 34
config OF_IRQ
	def_bool y
35
	depends on !SPARC
36

37 38
config OF_DEVICE
	def_bool y
39 40 41

config OF_GPIO
	def_bool y
42
	depends on GPIOLIB && !SPARC
43 44
	help
	  OpenFirmware GPIO accessors
45 46

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

52 53 54 55
config OF_NET
	depends on NETDEVICES
	def_bool y

56 57
config OF_SPI
	def_tristate SPI
58
	depends on SPI && !SPARC
59 60
	help
	  OpenFirmware SPI accessors
61 62 63

config OF_MDIO
	def_tristate PHYLIB
64
	depends on PHYLIB
65 66
	help
	  OpenFirmware MDIO bus (Ethernet PHY) accessors
67 68

endmenu # OF