diff options
author | Steffen Görtz | 2019-01-29 12:46:03 +0100 |
---|---|---|
committer | Peter Maydell | 2019-01-29 12:46:03 +0100 |
commit | 9d68bf564ecd038c8939b9779f4b6d62a01ce6f3 (patch) | |
tree | 0609383cbf6e3b8a635fcff272ecfd4d4cb27d6d /hw/i2c/Makefile.objs | |
parent | gdbstub: fix gdb_get_cpu(s, pid, tid) when pid and/or tid are 0 (diff) | |
download | qemu-9d68bf564ecd038c8939b9779f4b6d62a01ce6f3.tar.gz qemu-9d68bf564ecd038c8939b9779f4b6d62a01ce6f3.tar.xz qemu-9d68bf564ecd038c8939b9779f4b6d62a01ce6f3.zip |
arm: Stub out NRF51 TWI magnetometer/accelerometer detection
Recent microbit firmwares panic if the TWI magnetometer/accelerometer
devices are not detected during startup. We don't implement TWI (I2C)
so let's stub out these devices just to let the firmware boot.
Signed-off by: Steffen Görtz <contrib@steffen-goertz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190110094020.18354-2-stefanha@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: fixed comment style]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/Makefile.objs')
-rw-r--r-- | hw/i2c/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs index 37cacde978..82e747e1cd 100644 --- a/hw/i2c/Makefile.objs +++ b/hw/i2c/Makefile.objs @@ -7,5 +7,6 @@ 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 obj-$(CONFIG_OMAP) += omap_i2c.o obj-$(CONFIG_PPC4XX) += ppc4xx_i2c.o |