From 7034936b1550fac08f9a509889e4c16fca56a9ba Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 30 Oct 2013 17:08:59 -0500 Subject: [PATCH] baytrail: allow function disable on TXE Previously it was not known how to put the TXE pci device into D3Hot. It's been disseminated that this is not a requirement for disabling the TXE pci device in the function disable register. Therefore, allow this by returning 0 from place_device_in_d3hot(). BUG=chrome-os-partner:22871 BRANCH=None TEST=Temporarily set TXE to be disabled. Noted FUNC_DIS was being set accordingly. Change-Id: Ibf537bf8ba718859591dc89bdf41e57c1ea9d836 Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/175490 Reviewed-by: Duncan Laurie --- src/soc/intel/baytrail/southcluster.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c index a3a1a227f6..40d135b8d2 100644 --- a/src/soc/intel/baytrail/southcluster.c +++ b/src/soc/intel/baytrail/southcluster.c @@ -264,6 +264,8 @@ static int place_device_in_d3hot(device_t dev) offset = 0x50; break; DEV_CASE(TXE): + /* TXE cannot be placed in D3Hot. */ + return 0; break; DEV_CASE(PCIE_PORT1): DEV_CASE(PCIE_PORT2):