aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/psp_verstage/fch.c
diff options
context:
space:
mode:
authorJason Glenesk <jason.glenesk@amd.corp-partner.google.com>2020-10-13 04:35:09 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-10-23 16:28:26 +0000
commit90f71918fba37739e0a4e46f8983a62a53a3eb12 (patch)
tree78ea8e3994a595839d2182f05026e3d202b4841f /src/soc/amd/picasso/psp_verstage/fch.c
parenteef615c0f564185380fd93e29a191f926e813d03 (diff)
vc/amd/fsp/picasso: Remove typedefs in bl_syscall_public.h
Remove all typedefs and cleanup references to all structs and enums. BUG=b:159061802 TEST=Boot morphius to shell. Signed-off-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com> Change-Id: I403075e18886b566f576d9ca0d198c2f5e9c3d96 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46334 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/picasso/psp_verstage/fch.c')
-rw-r--r--src/soc/amd/picasso/psp_verstage/fch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/psp_verstage/fch.c b/src/soc/amd/picasso/psp_verstage/fch.c
index 89e7014550..7d0b856545 100644
--- a/src/soc/amd/picasso/psp_verstage/fch.c
+++ b/src/soc/amd/picasso/psp_verstage/fch.c
@@ -70,7 +70,7 @@ static void aoac_set_bar(void *bar)
static struct {
const char *name;
struct {
- FCH_IO_DEVICE device;
+ enum fch_io_device device;
uint32_t arg0;
} args;
void (*set_bar)(void *bar);
@@ -90,7 +90,7 @@ static struct {
uintptr_t *map_spi_rom(void)
{
uintptr_t *addr = NULL;
- struct SPIROM_INFO spi = {0};
+ struct spirom_info spi = {0};
if (svc_get_spi_rom_info(&spi))
printk(BIOS_DEBUG, "Error getting SPI ROM info.\n");