Original commit message:
This patch adds an emulation model for i2c controller found on most of the FSL SoCs.
It also integrates the RTC (ds1338) that sits on the i2c Bus with e500 machine model.
Patch was originally written by Amit Singh Tomar <amit.tomar@freescale.com>
see http://patchwork.ozlabs.org/patch/431475/
I only fixed it enough for application on top of current qemu master
20b084c4b1
, and hopefully fixed checkpatch errors
Tested by booting Linux kernel 4.20.12. Now e500 machine doesn't need
network time protocol daemon because it will have working RTC
(before all timestamps on files were from 2016)
Signed-off-by: Amit Singh Tomar <amit.tomar@freescale.com>
Signed-off-by: Andrew Randrianasulu <randrianasulu@gmail.com>
Message-Id: <20190306102812.28972-1-randrianasulu@gmail.com>
[dwg: Add Kconfig stanza to define the new symbol, update MAINTAINERS]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
15 lines
654 B
Makefile
15 lines
654 B
Makefile
common-obj-$(CONFIG_I2C) += core.o smbus_slave.o smbus_master.o
|
|
common-obj-$(CONFIG_SMBUS_EEPROM) += smbus_eeprom.o
|
|
common-obj-$(CONFIG_DDC) += i2c-ddc.o
|
|
common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o
|
|
common-obj-$(CONFIG_ACPI_X86_ICH) += smbus_ich9.o
|
|
common-obj-$(CONFIG_ACPI_SMBUS) += pm_smbus.o
|
|
common-obj-$(CONFIG_BITBANG_I2C) += bitbang_i2c.o
|
|
common-obj-$(CONFIG_EXYNOS4) += exynos4210_i2c.o
|
|
common-obj-$(CONFIG_IMX_I2C) += imx_i2c.o
|
|
common-obj-$(CONFIG_ASPEED_SOC) += aspeed_i2c.o
|
|
common-obj-$(CONFIG_NRF51_SOC) += microbit_i2c.o
|
|
common-obj-$(CONFIG_MPC_I2C) += mpc_i2c.o
|
|
obj-$(CONFIG_OMAP) += omap_i2c.o
|
|
obj-$(CONFIG_PPC4XX) += ppc4xx_i2c.o
|