summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r--src/soc/intel/quark/reg_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c
index 604561ac47..14e072541c 100644
--- a/src/soc/intel/quark/reg_access.c
+++ b/src/soc/intel/quark/reg_access.c
@@ -172,7 +172,7 @@ static uint32_t reg_gpe0_read(uint32_t reg_address)
static void reg_gpe0_write(uint32_t reg_address, uint32_t value)
{
/* Write the GPE0 register */
- outl(get_gpe0_address(reg_address), value);
+ outl(value, get_gpe0_address(reg_address));
}
static uint32_t reg_gpio_read(uint32_t reg_address)