diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-06-24 13:45:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-06-25 08:44:49 +0200 |
commit | f2b9c6b6d4e3eeeaa9a657e4a36b10184dabb8b7 (patch) | |
tree | ffaf847c3c7aa9f19c46f0891dd2900ef27d16b1 /drivers/of/Kconfig | |
parent | 74d2423dbc633cc15099bbbf15c9c03d3f2d59a9 (diff) | |
download | barebox-f2b9c6b6d4e3eeeaa9a657e4a36b10184dabb8b7.tar.gz barebox-f2b9c6b6d4e3eeeaa9a657e4a36b10184dabb8b7.tar.xz |
drivers: of: import PCI bus specific translator
DT PCI address translation needs a special handling. This imports
the corresponding translator into of/address.c but makes it selectable
through Kconfig. Compared to the Linux version, we don't check for
struct device_node's type which does not exist on Barebox but directly
for device_type property set to "pci".
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r-- | drivers/of/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index c4525cbffc..45f77a759f 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -15,6 +15,9 @@ config OFDEVICE select DTC bool "Enable probing of devices from the devicetree" +config OF_ADDRESS_PCI + bool + config OF_NET depends on NET def_bool y |