coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | ECMM(x) (*((volatile u8 *)(CONFIG_EC_BASE_ADDRESS + x))) |
#define | ec_mm_read(addr) (ECMM(0x100 + addr)) |
#define | ec_mm_write(addr, data) (ECMM(0x100 + addr) = data) |
#define | ec_mm_set_bit(addr, bit) (ECMM(0x100 + addr) |= 1 << bit) |
#define | ec_mm_clr_bit(addr, bit) (ECMM(0x100 + addr) &= ~(1 << bit)) |
Functions | |
void | lenovo_s230u_ec_init (void) |
Definition at line 20 of file ec.c.
References ec_mm_set_bit, enter_apm_mode(), and set_keyboard_matrix_us().
Referenced by mainboard_enable().