1
From ed1a241ec7302f0fd83834b941b22306a98ec5da Mon Sep 17 00:00:00 2001
2
From: Peter Maydell <peter.maydell@linaro.org>
3
Date: Mon, 18 Feb 2013 16:58:34 +0000
4
Subject: [PATCH 63/70] hw/omap_gpio.c: Don't complain about some writes to r/o
7
Don't complain about some writes to r/o OMAP2 GPIO registers, because the
8
kernel will do them anyway.
10
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
12
hw/gpio/omap_gpio.c | 4 ++--
13
1 file changed, 2 insertions(+), 2 deletions(-)
15
diff --git a/hw/gpio/omap_gpio.c b/hw/gpio/omap_gpio.c
16
index b8f572b..e1d9a2b 100644
17
--- a/hw/gpio/omap_gpio.c
18
+++ b/hw/gpio/omap_gpio.c
19
@@ -393,7 +393,7 @@ static void omap2_gpio_module_write(void *opaque, hwaddr addr,
20
case 0x00: /* GPIO_REVISION */
21
case 0x14: /* GPIO_SYSSTATUS */
22
case 0x38: /* GPIO_DATAIN */
24
+ /* read-only, ignore quietly */
27
case 0x10: /* GPIO_SYSCONFIG */
28
@@ -539,7 +539,7 @@ static void omap2_gpio_module_writep(void *opaque, hwaddr addr,
29
case 0x00: /* GPIO_REVISION */
30
case 0x14: /* GPIO_SYSSTATUS */
31
case 0x38: /* GPIO_DATAIN */
33
+ /* read-only, ignore quietly */
36
case 0x10: /* GPIO_SYSCONFIG */