commit | 9793212bb02b9fdc2de188a42b93b17ca2689c9a | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Mon Feb 21 20:57:52 2011 +0000 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sun Mar 06 19:01:31 2011 +0100 |
tree | f0015b4cc4481c063ba17eba30e035f83bf619c4 | |
parent | 7063f49f59807ac6f32c69281cf956d14d6c0310 [diff] |
hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputs Add a qemu_irq_split() function which allows a board to wire a single GPIO output up to two GPIO inputs. This is needed for realview boards, where the MMC card status is visible both in a system register and via a PL061 GPIO module. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>