aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/allwinner-a10-pic.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:38 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:38 +0100
commit654039b42a7f0e7d1b719a17d5c388662950b9ab (patch)
tree1c0b021b8769725566c6c934406032addcbfdced /hw/intc/allwinner-a10-pic.c
parent2f0d8631b74c873c8867a7b509335bc2bf8d8886 (diff)
hw/intc/allwinner-a10-pic: Add missing 'break'
Add missing 'break' after handling of AW_A10_PIC_BASE_ADDR write. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'hw/intc/allwinner-a10-pic.c')
-rw-r--r--hw/intc/allwinner-a10-pic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/allwinner-a10-pic.c b/hw/intc/allwinner-a10-pic.c
index bd29322609..de820b9723 100644
--- a/hw/intc/allwinner-a10-pic.c
+++ b/hw/intc/allwinner-a10-pic.c
@@ -97,6 +97,7 @@ static void aw_a10_pic_write(void *opaque, hwaddr offset, uint64_t value,
switch (offset) {
case AW_A10_PIC_BASE_ADDR:
s->base_addr = value & ~0x3;
+ break;
case AW_A10_PIC_PROTECT:
s->protect = value;
break;