coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <soc/blsp.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
#include <soc/clock.h>
Go to the source code of this file.
Functions | |
blsp_return_t | blsp_i2c_init (blsp_qup_id_t id) |
blsp_return_t blsp_i2c_init | ( | blsp_qup_id_t | id | ) |
Definition at line 9 of file blsp.c.
References base, BLSP_ID_ERROR, BLSP_MINI_CORE_I2C, BLSP_MINI_CORE_MASK, blsp_qup_base(), BLSP_QUP_ID_1, BLSP_SUCCESS, clock_configure_i2c(), clock_enable_i2c(), clrsetbits32, GPIO, GPIO_2MA, gpio_configure(), GPIO_OUTPUT, and GPIO_PULL_UP.