coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
bootblock_common.h
>
4
#include <
ec/acpi/ec.h
>
5
6
void
bootblock_mainboard_early_init
(
void
)
7
{
8
/* Enable USB Power. We need to do it early for usbdebug to work. */
9
ec_set_bit
(0x3b, 4);
10
}
bootblock_common.h
ec_set_bit
void ec_set_bit(u8 addr, u8 bit)
Definition:
ec.c:133
ec.h
bootblock_mainboard_early_init
void bootblock_mainboard_early_init(void)
Definition:
early_init.c:11
src
mainboard
lenovo
t410
early_init.c
Generated by
1.9.1