summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-26 19:51:30 -0700
committerSimon Glass <sjg@chromium.org>2015-12-01 06:26:38 -0700
commit3ba5f74a541f77bfb6904e684e2cf0bfad005106 (patch)
treea588534a7daa80436f5e617ecc4ebc6050071f43 /arch/x86
parentcab24b3407189a120066b82da2376679bf203eae (diff)
downloadblackbird-obmc-uboot-3ba5f74a541f77bfb6904e684e2cf0bfad005106.tar.gz
blackbird-obmc-uboot-3ba5f74a541f77bfb6904e684e2cf0bfad005106.zip
dm: pci: Disable PCI compatibility functions by default
We eventually need to drop the compatibility functions for driver model. As a first step, create a configuration option to enable them and hide them when the option is disabled. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 16ba4f438c..7e7cb612d7 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -93,6 +93,9 @@ config SYS_X86_START16
depends on X86_RESET_VECTOR
default 0xfffff800
+config DM_PCI_COMPAT
+ default y # Until we finish moving over to the new API
+
config BOARD_ROMSIZE_KB_512
bool
config BOARD_ROMSIZE_KB_1024
OpenPOWER on IntegriCloud