soc/intel/apollolake: add code to disable unused device
commitb023e5e32f763c2f48ac14fab4979d3493b39983
authorJagadish Krishnamoorthy <jagadish.krishnamoorthy@intel.com>
Thu, 23 Jun 2016 01:32:17 +0000 (22 18:32 -0700)
committerMartin Roth <martinroth@google.com>
Mon, 27 Jun 2016 20:32:26 +0000 (27 22:32 +0200)
treea30993d788a18e33184f3879dd2eefecbfa47907
parent4c1cb4287b21e4ec33795249925cb9c522d5095f
soc/intel/apollolake: add code to disable unused device

Parse the devicetree and pass the unused device to fsp
for disabling the device function.

BRANCH=none
BUG=chrome-os-partner:54325
TEST=device off in devicetree should disable the device.

Change-Id: I784b72a43fda13aa17634bf680205ab2d36e8d09
Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@intel.com>
Reviewed-on: https://review.coreboot.org/15337
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
src/soc/intel/apollolake/chip.c
src/soc/intel/apollolake/include/soc/pci_devs.h