qemu-e2k/hw/gpio
Geert Uytterhoeven faf58e5369 ARM: PL061: Introduce N_GPIOS
Add a definition for the number of GPIO lines controlled by a PL061
instance, and use it instead of the hardcoded magic value 8.

Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200519085143.1376-1-geert+renesas@glider.be
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-05-21 22:05:27 +01:00
..
Kconfig i2c: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
Makefile.objs hw/*/Makefile.objs: Move many .o files to common-objs 2020-02-04 09:00:57 +01:00
aspeed_gpio.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
bcm2835_gpio.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
gpio_key.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx_gpio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
max7310.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mpc8xxx.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
nrf51_gpio.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
omap_gpio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pl061.c ARM: PL061: Introduce N_GPIOS 2020-05-21 22:05:27 +01:00
puv3_gpio.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
zaurus.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00