summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/fsp
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-09-03 14:38:21 -0600
committerFelix Held <felix-coreboot@felixheld.de>2020-09-25 23:22:50 +0000
commit2c6fcab2281e73f39ee42b78794d44a5ff465d32 (patch)
tree6ed12ecead733cc05b9d0f2e90dac6d9c11a3e93 /src/vendorcode/amd/fsp
parentbc5214342f70e7b2187a3e2e02a9d2bfc284a82c (diff)
vc/amd/fsp/picasso: Update to UPD 1.0.1.3
This adds eMMC preset settings. It also fixes some formatting and a comment. BUG=b:159823235 TEST=Build test Cq-Depend: chrome-internal:3251807 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ic5caff594157e03d792b999ca60274cf53c708e2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45096 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd/fsp')
-rw-r--r--src/vendorcode/amd/fsp/picasso/FspsUpd.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/vendorcode/amd/fsp/picasso/FspsUpd.h b/src/vendorcode/amd/fsp/picasso/FspsUpd.h
index c1d3db0c48..491ea476de 100644
--- a/src/vendorcode/amd/fsp/picasso/FspsUpd.h
+++ b/src/vendorcode/amd/fsp/picasso/FspsUpd.h
@@ -15,7 +15,11 @@
typedef struct __packed {
/** Offset 0x0020**/ uint32_t emmc0_mode;
- /** Offset 0x0024**/ uint8_t unused0[12];
+ /** Offset 0x0024**/ uint16_t emmc0_init_khz_preset;
+ /** Offset 0x0026**/ uint8_t emmc0_sdr104_hs400_driver_strength;
+ /** Offset 0x0027**/ uint8_t emmc0_ddr50_driver_strength;
+ /** Offset 0x0028**/ uint8_t emmc0_sdr50_driver_strength;
+ /** Offset 0x0029**/ uint8_t unused0[7];
/** Offset 0x0030**/ uint8_t dxio_descriptor[FSPS_UPD_DXIO_DESCRIPTOR_COUNT][16];
/** Offset 0x00B0**/ uint8_t unused1[16];
/** Offset 0x00C0**/ uint32_t ddi_descriptor[FSPS_UPD_DDI_DESCRIPTOR_COUNT];
@@ -32,10 +36,10 @@ typedef struct __packed {
/** Offset 0x011E**/ uint32_t xhci_oc_pin_select;
/** Offset 0x0122**/ uint8_t xhci0_force_gen1;
/** Offset 0x0123**/ uint8_t xhci_sparse_mode_enable;
- /** Offset 0x0124**/ uint32_t gnb_ioapic_base;
- /** Offset 0x0128**/ uint8_t gnb_ioapic_id;
- /** Offset 0x0129**/ uint8_t fch_ioapic_id;
- /** Offset 0x0126**/ uint8_t UnusedUpdSpace0[38];
+ /** Offset 0x0124**/ uint32_t gnb_ioapic_base;
+ /** Offset 0x0128**/ uint8_t gnb_ioapic_id;
+ /** Offset 0x0129**/ uint8_t fch_ioapic_id;
+ /** Offset 0x012A**/ uint8_t UnusedUpdSpace0[38];
/** Offset 0x0150**/ uint16_t UpdTerminator;
} FSP_S_CONFIG;