summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/slippy/romstage.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-06-03 10:41:12 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-02 21:53:51 +0100
commitbcfcfa4473357eb6272bc8bcc5e03f4ba517bcd2 (patch)
tree1d08cb4bc9e40f38d8528b2f31630c9db7bda423 /src/mainboard/google/slippy/romstage.c
parenta6c29fe6841ad5e03ddb35803943bed3bc83dfd2 (diff)
downloadcoreboot-bcfcfa4473357eb6272bc8bcc5e03f4ba517bcd2.tar.gz
coreboot-bcfcfa4473357eb6272bc8bcc5e03f4ba517bcd2.tar.bz2
coreboot-bcfcfa4473357eb6272bc8bcc5e03f4ba517bcd2.zip
haswell: Update pei_data to match ref code
- Add a new USB location field - Add a new "ddr_refresh_2x" field, enabled on Falco only - Fix copy+paste bug in baskingridge Checked that tREFI is halved during memory setup in the memory training log: tREFImin = 6240 << DEFAULT C(0).tREFI = 0xc30 << MODIFIED (=3120) C(0).tREFI = 0xc30 << MODIFIED (=3120) Also ensure that the SD card is detected properly again. Change-Id: Ie3a82c08df06ada9af56282b5255caefa56487f2 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/57349 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/4219 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/mainboard/google/slippy/romstage.c')
-rw-r--r--src/mainboard/google/slippy/romstage.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/src/mainboard/google/slippy/romstage.c b/src/mainboard/google/slippy/romstage.c
index d9792035721d..a93196a95b17 100644
--- a/src/mainboard/google/slippy/romstage.c
+++ b/src/mainboard/google/slippy/romstage.c
@@ -159,15 +159,23 @@ void mainboard_romstage_entry(unsigned long bist)
dimm_channel1_disabled: 2,
max_ddr3_freq: 1600,
usb2_ports: {
- /* Length, Enable, OCn# */
- { 0x0040, 1, USB_OC_PIN_SKIP }, /* P0: LTE */
- { 0x0040, 1, 0 }, /* P1: Port A, CN10 */
- { 0x0040, 1, USB_OC_PIN_SKIP }, /* P2: CCD */
- { 0x0040, 1, USB_OC_PIN_SKIP }, /* P3: BT */
- { 0x0040, 1, 2 }, /* P4: Port B, CN6 */
- { 0x0040, 0, USB_OC_PIN_SKIP }, /* P5: EMPTY */
- { 0x0040, 1, USB_OC_PIN_SKIP }, /* P6: SD Card */
- { 0x0040, 0, USB_OC_PIN_SKIP }, /* P7: EMPTY */
+ /* Length, Enable, OCn#, Location */
+ { 0x0150, 1, USB_OC_PIN_SKIP, /* P0: LTE */
+ USB_PORT_MINI_PCIE },
+ { 0x0040, 1, 0, /* P1: Port A, CN10 */
+ USB_PORT_BACK_PANEL },
+ { 0x0080, 1, USB_OC_PIN_SKIP, /* P2: CCD */
+ USB_PORT_INTERNAL },
+ { 0x0040, 1, USB_OC_PIN_SKIP, /* P3: BT */
+ USB_PORT_MINI_PCIE },
+ { 0x0040, 1, 2, /* P4: Port B, CN6 */
+ USB_PORT_BACK_PANEL },
+ { 0x0000, 0, USB_OC_PIN_SKIP, /* P5: EMPTY */
+ USB_PORT_SKIP },
+ { 0x0150, 1, USB_OC_PIN_SKIP, /* P6: SD Card */
+ USB_PORT_FLEX },
+ { 0x0000, 0, USB_OC_PIN_SKIP, /* P7: EMPTY */
+ USB_PORT_SKIP },
},
usb3_ports: {
/* Enable, OCn# */