diff options
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3h/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-b75m-d3v/romstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/butterfly/romstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/link/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/google/parrot/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/intel/emeraldlake2/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/kontron/ktqm77/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420s/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/romstage.c | 6 |
9 files changed, 24 insertions, 12 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/romstage.c b/src/mainboard/gigabyte/ga-b75m-d3h/romstage.c index 543e7658b0..dbb015d41b 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/romstage.c +++ b/src/mainboard/gigabyte/ga-b75m-d3h/romstage.c @@ -86,7 +86,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 1, 5, 6 }, }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd (&spd[0], 0x50, id_only); read_spd (&spd[1], 0x51, id_only); read_spd (&spd[2], 0x52, id_only); diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/romstage.c b/src/mainboard/gigabyte/ga-b75m-d3v/romstage.c index 1ca6551cc5..89f475ea88 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3v/romstage.c +++ b/src/mainboard/gigabyte/ga-b75m-d3v/romstage.c @@ -87,14 +87,16 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { }; /* FIXME: This board only has two DIMM slots! */ -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd (&spd[0], 0x50, id_only); read_spd (&spd[1], 0x51, id_only); read_spd (&spd[2], 0x52, id_only); read_spd (&spd[3], 0x53, id_only); } -void mainboard_early_init(int s3resume) { +void mainboard_early_init(int s3resume) +{ } void mainboard_config_superio(void) diff --git a/src/mainboard/google/butterfly/romstage.c b/src/mainboard/google/butterfly/romstage.c index bfee526d05..0166997436 100644 --- a/src/mainboard/google/butterfly/romstage.c +++ b/src/mainboard/google/butterfly/romstage.c @@ -116,12 +116,14 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 0, 0, -1 }, /* P13: Empty */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x52, id_only); } -void mainboard_early_init(int s3resume) { +void mainboard_early_init(int s3resume) +{ } void mainboard_config_superio(void) diff --git a/src/mainboard/google/link/romstage.c b/src/mainboard/google/link/romstage.c index dab49952bb..91f8297cca 100644 --- a/src/mainboard/google/link/romstage.c +++ b/src/mainboard/google/link/romstage.c @@ -195,7 +195,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 0, 0, -1 }, /* P13: Empty */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ memcpy(&spd[0], locate_spd(), 128); } diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c index dd21dcdfa4..186d16d354 100644 --- a/src/mainboard/google/parrot/romstage.c +++ b/src/mainboard/google/parrot/romstage.c @@ -169,7 +169,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 0, 0, -1 }, /* P13: Empty */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x52, id_only); } diff --git a/src/mainboard/intel/emeraldlake2/romstage.c b/src/mainboard/intel/emeraldlake2/romstage.c index d5b6174f9c..b43a9b0c07 100644 --- a/src/mainboard/intel/emeraldlake2/romstage.c +++ b/src/mainboard/intel/emeraldlake2/romstage.c @@ -159,7 +159,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 1, 0, 5 }, /* P13: Back port (OC5) */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x52, id_only); } diff --git a/src/mainboard/kontron/ktqm77/romstage.c b/src/mainboard/kontron/ktqm77/romstage.c index cd6f3b9fc3..9083764284 100644 --- a/src/mainboard/kontron/ktqm77/romstage.c +++ b/src/mainboard/kontron/ktqm77/romstage.c @@ -156,7 +156,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 1, 0, 4 }, /* P13: internal USB 2.0 (OC4) */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x52, id_only); } diff --git a/src/mainboard/lenovo/t420s/romstage.c b/src/mainboard/lenovo/t420s/romstage.c index 49a9b4ebc5..5754a6dc2f 100644 --- a/src/mainboard/lenovo/t420s/romstage.c +++ b/src/mainboard/lenovo/t420s/romstage.c @@ -85,7 +85,8 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 1, 1, -1 }, /* P13: camera (LCD), no OC */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd(&spd[0], 0x50, id_only); read_spd(&spd[2], 0x51, id_only); } diff --git a/src/mainboard/lenovo/x230/romstage.c b/src/mainboard/lenovo/x230/romstage.c index ba8baa88ec..6a47ac0374 100644 --- a/src/mainboard/lenovo/x230/romstage.c +++ b/src/mainboard/lenovo/x230/romstage.c @@ -63,12 +63,14 @@ const struct southbridge_usb_port mainboard_usb_ports[] = { { 1, 1, -1 }, /* P13: webcam, no OC */ }; -void mainboard_get_spd(spd_raw_data *spd, bool id_only) { +void mainboard_get_spd(spd_raw_data *spd, bool id_only) +{ read_spd (&spd[0], 0x50, id_only); read_spd (&spd[2], 0x51, id_only); } -void mainboard_early_init(int s3resume) { +void mainboard_early_init(int s3resume) +{ } void mainboard_config_superio(void) |