diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-03-29 11:31:17 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-14 21:03:28 +0000 |
commit | f729cd0b40719e41bc6d337b179b1a36f775b00e (patch) | |
tree | f89fb6b2a4e1aaf2e56ee933db511cbfdb1782e5 /src/mainboard/scaleway/tagada/romstage.c | |
parent | 3ac3a68eef7ebd14cee7e09e22f02a8f6ce54f24 (diff) | |
download | coreboot-f729cd0b40719e41bc6d337b179b1a36f775b00e.tar.gz coreboot-f729cd0b40719e41bc6d337b179b1a36f775b00e.tar.bz2 coreboot-f729cd0b40719e41bc6d337b179b1a36f775b00e.zip |
mb/scaleway/tagada: Update gpio configuration to use intelblock
Update the gpio configuration structure to the intelblock format.
The resulting configuration is functionally similar (even if some
bits are not identical).
Change-Id: Ide515424c6e1b0cb560b52a7f12909f23fd41e06
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/25424
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/scaleway/tagada/romstage.c')
-rw-r--r-- | src/mainboard/scaleway/tagada/romstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/scaleway/tagada/romstage.c b/src/mainboard/scaleway/tagada/romstage.c index 630d35578534..c29ff9dff71a 100644 --- a/src/mainboard/scaleway/tagada/romstage.c +++ b/src/mainboard/scaleway/tagada/romstage.c @@ -31,7 +31,7 @@ void mainboard_memory_init_params(FSPM_UPD *mupd); void mainboard_config_gpios(void) { size_t num; - const struct dnv_pad_config *table; + const struct pad_config *table; printk(BIOS_SPEW, "Board Serial: %s.\n", bmcinfo_serial()); /* Configure pads prior to SiliconInit() in case there's any @@ -47,7 +47,7 @@ void mainboard_config_gpios(void) printk(BIOS_INFO, "GPIO table: 0x%x, entry num: 0x%x!\n", (uint32_t)table, (uint32_t)num); - gpio_configure_dnv_pads(table, num); + gpio_configure_pads(table, num); } void mainboard_memory_init_params(FSPM_UPD *mupd) |