x86: tnc: Use DM PCI API in disable_igd()
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:54 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:22 +0000 (12:47 +0800)
commit2b94d9fca2bef8cffd5ad56f609aed1f0d024900
treec093d10333e6cf9a0f45b91d8ed4cfdbd7b3b7d7
parent9e36c53dd0b86d8e19c764945401440dee65d016
x86: tnc: Use DM PCI API in disable_igd()

Once we get udevice of IGD and SDVO, we can use its udevice to
access PCI configuration space with dm_pci_write_config32().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/queensbay/tnc.c