UPSTREAM: mainboard/lenovo/x220: Clean up code
thermal.h still has references to X230 in include guard since it
seems to have been copied from that port. Code formatting changes
in romstage.c.
Change-Id: Id8bd931bed127036e8bb4ab604d9d6145f767e56
signed-off-by: Jan Tatje <jan@jnt.io>
Original-Reviewed-on: https://review.coreboot.org/15071
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
(cherry-picked from commit b8743080d8)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/350962
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
Tested-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
6b07f180cd
commit
6a5232de3c
2 changed files with 6 additions and 4 deletions
|
|
@ -75,12 +75,14 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
|
|||
{ 1, 1, 6 },
|
||||
};
|
||||
|
||||
void mainboard_get_spd(spd_raw_data *spd) {
|
||||
void mainboard_get_spd(spd_raw_data *spd)
|
||||
{
|
||||
read_spd (&spd[0], 0x50);
|
||||
read_spd (&spd[2], 0x51);
|
||||
}
|
||||
|
||||
void mainboard_early_init(int s3resume) {
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef X230_THERMAL_H
|
||||
#define X230_THERMAL_H
|
||||
#ifndef X220_THERMAL_H
|
||||
#define X220_THERMAL_H
|
||||
|
||||
/* Temperature which OS will shutdown at */
|
||||
#define CRITICAL_TEMPERATURE 100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue