]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: ivybridge: Convert enable_usb_bar() to use DM PCI API
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:46 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:41 +0000 (12:09 +0800)
commit5213f280fce3ac1d06dfcc4b16969dd9d2478607
treec34b80053116d3e2379d882cde0a082712ba862a
parent0c7645bde0961c6f44ba265186e3cb50fd5d6247
x86: ivybridge: Convert enable_usb_bar() to use DM PCI API

Convert this function over to use the driver model PCI API. In this case
we want to avoid using the real PCI devices since they have not yet been
probed. Instead, write directly to their PCI configuration address.

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