diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2019-02-07 10:48:10 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-08 10:58:37 +0000 |
commit | 498f1cc1f3c3c501101c0b052502ec9a04bbd874 (patch) | |
tree | 302fe65d60c8330331db8c8317e7f3291a7c5ca0 /src/mainboard/google | |
parent | 9e366b4e0b4135eb8f4d4a5aed021d3858243a88 (diff) | |
download | coreboot-498f1cc1f3c3c501101c0b052502ec9a04bbd874.tar.xz |
mb/*/*/romstage: curly braces after the function definition
See Documentation/coding_style.md, specifically "Placing Braces and
Spaces" section.
Change-Id: Ia6a2f3d3547c16500996260b0ece9ec693f00113
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31268
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/google')
-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 |
3 files changed, 8 insertions, 4 deletions
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); } |