aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/scc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-04-29 10:12:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-01 16:37:47 +0000
commitd2bbc68fa32ec60f8aa83870559beadbef0d1c9f (patch)
tree801c1c9eb4ff7697ba57f20fe66567818d7bd40c /src/soc/intel/baytrail/scc.c
parent066e61f3ea1f65012b14467412e6b17351c87dc6 (diff)
soc/intel/baytrail: Fix 16-bit read/write PCI_COMMAND register
Change-Id: I353daf35c843521b089ff8411a9ba8c801605ff9 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40846 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/baytrail/scc.c')
-rw-r--r--src/soc/intel/baytrail/scc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/scc.c b/src/soc/intel/baytrail/scc.c
index 3d5c501038..552d27d1f4 100644
--- a/src/soc/intel/baytrail/scc.c
+++ b/src/soc/intel/baytrail/scc.c
@@ -74,7 +74,7 @@ void scc_enable_acpi_mode(struct device *dev, int iosf_reg, int nvs_index)
{
struct reg_script ops[] = {
/* Disable PCI interrupt, enable Memory and Bus Master */
- REG_PCI_OR32(PCI_COMMAND,
+ REG_PCI_OR16(PCI_COMMAND,
PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | (1<<10)),
/* Enable ACPI mode */
REG_IOSF_OR(IOSF_PORT_SCC, iosf_reg,