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 25
config OF_EARLY_FLATTREE
	bool
	select OF_FLATTREE

26 27 28
config OF_PROMTREE
	bool

29 30
config OF_DYNAMIC
	def_bool y
31
	depends on PPC_OF
32

G
Grant Likely 已提交
33 34
config OF_ADDRESS
	def_bool y
35
	depends on !SPARC
G
Grant Likely 已提交
36

37 38
config OF_IRQ
	def_bool y
39
	depends on !SPARC
40

41 42
config OF_DEVICE
	def_bool y
43 44 45

config OF_GPIO
	def_bool y
46
	depends on GPIOLIB && !SPARC
47 48
	help
	  OpenFirmware GPIO accessors
49 50

config OF_I2C
51
	def_tristate I2C
52
	depends on I2C && !SPARC
53 54
	help
	  OpenFirmware I2C accessors
55

56 57 58 59
config OF_NET
	depends on NETDEVICES
	def_bool y

60 61
config OF_SPI
	def_tristate SPI
62
	depends on SPI && !SPARC
63 64
	help
	  OpenFirmware SPI accessors
65 66 67

config OF_MDIO
	def_tristate PHYLIB
68
	depends on PHYLIB
69 70
	help
	  OpenFirmware MDIO bus (Ethernet PHY) accessors
71 72

endmenu # OF