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>
This commit is contained in:
Kyösti Mälkki 2022-11-17 05:19:58 +02:00
parent 07adfa6bf5
commit 0c745347d0
1 changed files with 1 additions and 1 deletions

View File

@ -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)