diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-11-17 05:19:58 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-11-28 08:54:17 +0000 |
commit | 0c745347d09e08d9cf388600558ea41634e5cbcd (patch) | |
tree | 86e491a89900060d4293bea14c7897c7575b8dc8 /src/soc | |
parent | 07adfa6bf56601948b60704d866177e2ddb69036 (diff) |
soc/intel/quark: Fix out() parameter order
Change-Id: I4db09632a41d28b0c8e211e6232db4e6d85bdf5f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70051
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/quark/reg_access.c | 2 |
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) |