Merge branch 'ima-memory-use-fixes'
[pandora-kernel.git] / drivers / of / Kconfig
1 config DTC
2         bool
3
4 config OF
5         bool
6
7 menu "Device Tree and Open Firmware support"
8         depends on OF
9
10 config PROC_DEVICETREE
11         bool "Support for device tree in /proc"
12         depends on PROC_FS && !SPARC
13         help
14           This option adds a device-tree directory under /proc which contains
15           an image of the device tree that the kernel copies from Open
16           Firmware or other boot firmware. If unsure, say Y here.
17
18 config OF_FLATTREE
19         bool
20         select DTC
21
22 config OF_PROMTREE
23         bool
24
25 config OF_DYNAMIC
26         def_bool y
27         depends on PPC_OF
28
29 config OF_ADDRESS
30         def_bool y
31         depends on !SPARC
32
33 config OF_IRQ
34         def_bool y
35         depends on !SPARC
36
37 config OF_DEVICE
38         def_bool y
39
40 config OF_GPIO
41         def_bool y
42         depends on GPIOLIB && !SPARC
43         help
44           OpenFirmware GPIO accessors
45
46 config OF_I2C
47         def_tristate I2C
48         depends on I2C && !SPARC
49         help
50           OpenFirmware I2C accessors
51
52 config OF_SPI
53         def_tristate SPI
54         depends on SPI && !SPARC
55         help
56           OpenFirmware SPI accessors
57
58 config OF_MDIO
59         def_tristate PHYLIB
60         depends on PHYLIB
61         help
62           OpenFirmware MDIO bus (Ethernet PHY) accessors
63
64 endmenu # OF