coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
southbridge/intel/common/gpio.h
>
4
#include <
northbridge/intel/gm45/gm45.h
>
5
6
void
get_mb_spd_addrmap
(
u8
spd_addrmap[4])
7
{
8
spd_addrmap[0] = 0x50;
9
spd_addrmap[2] = 0x51;
10
}
11
12
void
mb_post_raminit_setup
(
void
)
13
{
14
/* FIXME: make a proper SMBUS mux support. */
15
/* Set the SMBUS mux to the eeprom */
16
set_gpio
(42,
GPIO_LEVEL_LOW
);
17
}
gm45.h
get_mb_spd_addrmap
void get_mb_spd_addrmap(u8 spd_addrmap[4])
Definition:
romstage.c:18
mb_post_raminit_setup
void mb_post_raminit_setup(void)
Definition:
romstage.c:43
GPIO_LEVEL_LOW
#define GPIO_LEVEL_LOW
Definition:
gpio.h:53
set_gpio
void set_gpio(int gpio_num, int value)
Definition:
gpio.c:125
gpio.h
u8
uint8_t u8
Definition:
stdint.h:45
src
mainboard
lenovo
x200
romstage.c
Generated by
1.9.1