coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
i2c.h File Reference

Go to the source code of this file.

Functions

void i2c_init (unsigned int bus, unsigned int hz)
 
void software_i2c_attach (unsigned int bus)
 
void software_i2c_detach (unsigned int bus)
 

Function Documentation

◆ i2c_init()

void i2c_init ( unsigned int  bus,
unsigned int  hz 
)

Definition at line 236 of file i2c.c.

References assert, BIOS_DEBUG, DIV_ROUND_UP, KHz, printk, rkclk_i2c_clock_for_bus(), and write32().

Here is the call graph for this function:

◆ software_i2c_attach()

◆ software_i2c_detach()