soc/intel/apollolake: Limit xDCI feature when VBOOT is enabled
commit4c8fbc065874d352b2215739bae0e0ae8a04757e
authorDuncan Laurie <dlaurie@chromium.org>
Mon, 26 Mar 2018 09:19:58 +0000 (26 02:19 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 28 Mar 2018 06:43:40 +0000 (28 06:43 +0000)
tree973d1907075af5c7c211672292767617c036e061
parent4df7d2c4953822c33be77e20e2ceff896e4a65c5
soc/intel/apollolake: Limit xDCI feature when VBOOT is enabled

Use the common xDCI function to check if the controller is allowed
in the current mode before enabling it.  Otherwise, disable the
PCI device if it has been enabled in devicetree.

Change-Id: I5aea15511c52d1191babf551feb237f4144683e4
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/25364
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/intel/apollolake/chip.c
src/soc/intel/apollolake/xdci.c