diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-06-18 09:54:43 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-08 17:59:06 +0200 |
commit | 5d94c2665360aad315b494b9ed47ed7f33a695a5 (patch) | |
tree | 3e91b4571de51b258b73a709a7ae78faf7af2c5e /src | |
parent | 24ba659d08cf6e4cbd32608105333e355dcecf2e (diff) | |
download | coreboot-5d94c2665360aad315b494b9ed47ed7f33a695a5.tar.xz |
mainboard/intel/galileo: Gen1 - Set correct I2C scripts
Switch the I2C scripts to properly match the I2C address selection for
the Galileo Gen1 board.
TEST=Build an run on Galileo Gen1
Change-Id: I9fc8b59a3a719abb474c99a83e0d538794626da9
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15258
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/intel/galileo/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/galileo/gpio.c b/src/mainboard/intel/galileo/gpio.c index 0b55bc6ae2..8f3c2e3b05 100644 --- a/src/mainboard/intel/galileo/gpio.c +++ b/src/mainboard/intel/galileo/gpio.c @@ -39,7 +39,7 @@ void car_mainboard_pre_console_init(void) else script = (reg_legacy_gpio_read (R_QNC_GPIO_RGLVL_RESUME_WELL) & GALILEO_DETERMINE_IOEXP_SLA_RESUMEWELL_GPIO) - ? gen1_hsuart0_0x21 : gen1_hsuart0_0x20; + ? gen1_hsuart0_0x20 : gen1_hsuart0_0x21; reg_script_run(script); } } @@ -57,7 +57,7 @@ void mainboard_gpio_i2c_init(device_t dev) /* Determine which I2C address is in use */ script = (reg_legacy_gpio_read (R_QNC_GPIO_RGLVL_RESUME_WELL) & GALILEO_DETERMINE_IOEXP_SLA_RESUMEWELL_GPIO) - ? gen1_i2c_0x21_init : gen1_i2c_0x20_init; + ? gen1_i2c_0x20_init : gen1_i2c_0x21_init; /* Initialize the I2C chips */ reg_script_run(script); |