integrator/cp: Implement CARDIN and WPROT signals
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 11 Mar 2015 13:21:06 +0000 (13:21 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Mar 2015 13:21:06 +0000 (13:21 +0000)
commit83d0cf895f9b1c35fb56d3c93fd3504bc1ac8344
tree03cbce1664327f279bb678bf158cd26640c27f1c
parentffc8542a660c447db6ba972b71b4903458309e7e
integrator/cp: Implement CARDIN and WPROT signals

This allows to use the SD card emulation of the board: Forward the
signals from the pl181 top the CP control register emulation, report the
current state via CP_INTREG, deliver CARDIN IRQ to the secondary
interrupt controller and also support clearing that line via CP_INTREG.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Message-id: c55d9fb28d19ec83625cb0074b3b6f2e5958caf6.1426004843.git.jan.kiszka@siemens.com
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/integratorcp.c