aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/Kconfig
diff options
context:
space:
mode:
authorAndrew Randrianasulu <randrianasulu@gmail.com>2019-03-06 13:28:12 +0300
committerDavid Gibson <david@gibson.dropbear.id.au>2019-03-12 14:33:04 +1100
commit7abb479c7abd1f03da09f34cd77d25ecf66aac82 (patch)
treef517d5d2ae764e69457b07109dc1c025eedac70d /hw/i2c/Kconfig
parent68f9f7084146b48acb68c606b81edcb04d69d41c (diff)
PPC: E500: Add FSL I2C controller and integrate RTC with it
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 20b084c4b1401b7f8fbc385649d48c67b6f43d44, 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>
Diffstat (limited to 'hw/i2c/Kconfig')
-rw-r--r--hw/i2c/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig
index ef1caa6d89..820b24de5b 100644
--- a/hw/i2c/Kconfig
+++ b/hw/i2c/Kconfig
@@ -25,3 +25,7 @@ config BITBANG_I2C
config IMX_I2C
bool
select I2C
+
+config MPC_I2C
+ bool
+ select I2C