soc/amd/cezanne: Get I2C specific code for cezanne
Add macros, settings and callbacks to support I2C for cezanne. Change-Id: Ic480681d4b7c6fb8591e729090e4faeb5fccf800 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51025 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@@ -4,9 +4,13 @@
|
||||
#define CEZANNE_CHIP_H
|
||||
|
||||
#include <amdblocks/chip.h>
|
||||
#include <soc/i2c.h>
|
||||
#include <drivers/i2c/designware/dw_i2c.h>
|
||||
|
||||
struct soc_amd_cezanne_config {
|
||||
struct soc_amd_common_config common_config;
|
||||
u8 i2c_scl_reset;
|
||||
struct dw_i2c_bus_config i2c[I2C_CTRLR_COUNT];
|
||||
};
|
||||
|
||||
#endif /* CEZANNE_CHIP_H */
|
||||
|
Reference in New Issue
Block a user