Debian Codegraph @

src/mainboard/lenovo/thinkcentre_a58/early_init.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #include <bootblock_common.h>
4 #include <northbridge/intel/x4x/x4x.h>
5 #include <superio/smsc/smscsuperio/smscsuperio.h>
6
7 #define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
8
9 void bootblock_mainboard_early_init(void)
10 {
11 smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
12 }
13
14 void mb_get_spd_map(u8 spd_map[4])
15 {
16 spd_map[0] = 0x50;
17 spd_map[2] = 0x52;
18 }