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/lenovo | |
parent | 9e366b4e0b4135eb8f4d4a5aed021d3858243a88 (diff) |
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/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t420s/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/romstage.c | 6 |
2 files changed, 6 insertions, 3 deletions
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) |