aboutsummaryrefslogtreecommitdiff
path: root/default-configs
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 /default-configs
parent68f9f7084146b48acb68c606b81edcb04d69d41c (diff)
downloadqemu-7abb479c7abd1f03da09f34cd77d25ecf66aac82.zip
qemu-7abb479c7abd1f03da09f34cd77d25ecf66aac82.tar.gz
qemu-7abb479c7abd1f03da09f34cd77d25ecf66aac82.tar.bz2
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 'default-configs')
-rw-r--r--default-configs/ppc-softmmu.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 6ea36d4..bf86128 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -1,6 +1,8 @@
# Default configuration for ppc-softmmu
# For embedded PPCs:
+CONFIG_MPC_I2C=y
+CONFIG_DS1338=y
CONFIG_E500=y
CONFIG_PPC405=y
CONFIG_PPC440=y