mirror of
https://github.com/qemu/qemu.git
synced 2024-12-05 01:33:41 +08:00
7abb479c7a
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>
20 lines
273 B
Makefile
20 lines
273 B
Makefile
# Default configuration for ppc-softmmu
|
|
|
|
# For embedded PPCs:
|
|
CONFIG_MPC_I2C=y
|
|
CONFIG_DS1338=y
|
|
CONFIG_E500=y
|
|
CONFIG_PPC405=y
|
|
CONFIG_PPC440=y
|
|
CONFIG_VIRTEX=y
|
|
|
|
# For Sam460ex
|
|
CONFIG_SAM460EX=y
|
|
|
|
# For Macs
|
|
CONFIG_MAC_OLDWORLD=y
|
|
CONFIG_MAC_NEWWORLD=y
|
|
|
|
# For PReP
|
|
CONFIG_PREP=y
|