Thanks for reply. Requirement : I am working for Intel Apollo Lake SOC. I need to enable a power chip which sits on I2c bus and reset the chip via gpio pin .So i need to write a slave driver to access the chip.
Static Analysis by me : Before that , i2c master should be there . I feel lpss_i2c.c can help the same. I called the lpss_i2c_init function from external/coreboot/payloads/libpayload/arch/x86/main.c and compiling with libpayload.a . let me know if i am right upto this ?. if it is then following questions are : 1) how to access GPIO register to ser one or zero 2) how to do i2c slave write for that chip ? any api for that ? Regards Chinmoy On Fri, Nov 17, 2017 at 2:04 PM, Paul Menzel < [email protected]> wrote: > Dear Chinmoy, > > > Am Donnerstag, den 16.11.2017, 17:48 +0530 schrieb chinmoy ghosh: > > I am new to coreboot. > > Welcome! > > > I am able to clone the coreboot and able to compile for x86 arch. > > I am not able to select any drivers in the menuconfig. I want compile > some > > coreboot/src/drivers/i2c drivers. > > I assume these are dependent on the board. Please elaborate on your > goal, that means what I2C driver do you need, and what board do you > work on, and give all the necessary details, like what commit hash you > use. > > > Thanks, > > Paul > -- > coreboot mailing list: [email protected] > https://mail.coreboot.org/mailman/listinfo/coreboot >
-- coreboot mailing list: [email protected] https://mail.coreboot.org/mailman/listinfo/coreboot

