From 0c745347d09e08d9cf388600558ea41634e5cbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 17 Nov 2022 05:19:58 +0200 Subject: [PATCH] soc/intel/quark: Fix out() parameter order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4db09632a41d28b0c8e211e6232db4e6d85bdf5f Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/70051 Reviewed-by: Elyes Haouas Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/soc/intel/quark/reg_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)