qemu/hw/arm
Peter Maydell fc38a1120c Remove checks on MAX_SERIAL_PORTS that are just bounds checks
Remove checks on MAX_SERIAL_PORTS that were just checking whether
they were within bounds for the serial_hds[] array and falling
back to NULL if not. This isn't needed with the serial_hd()
function, which returns NULL for all indexes beyond what the
user set up.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180420145249.32435-9-peter.maydell@linaro.org
2018-04-26 13:57:00 +01:00
..
allwinner-a10.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
armv7m.c
aspeed.c hw/arm/aspeed: don't make 'boot_rom' region 'nomigrate' 2018-04-26 11:04:39 +01:00
aspeed_soc.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
bcm2835_peripherals.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
bcm2836.c hw/arm/bcm2836: Use the Cortex-A7 instead of Cortex-A15 2018-03-23 18:26:45 +00:00
boot.c arm: always start from first_cpu when registering loader cpu reset callback 2018-04-26 11:04:38 +01:00
collie.c
cubieboard.c
digic.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
digic_boards.c
exynos4_boards.c
exynos4210.c
fsl-imx6.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
fsl-imx7.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
fsl-imx25.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
fsl-imx31.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
gumstix.c
highbank.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
imx25_pdk.c
integratorcp.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
iotkit.c
kzm.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
mainstone.c
Makefile.objs hw/arm: Use more CONFIG switches for the object files 2018-03-09 17:09:44 +00:00
mcimx7d-sabre.c Implement support for i.MX7 Sabre board 2018-03-09 17:09:43 +00:00
mps2-tz.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
mps2.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
msf2-soc.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
msf2-som.c
musicpal.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
netduino2.c
nseries.c
omap1.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
omap2.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
omap_sx1.c
palm.c
pxa2xx.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
pxa2xx_gpio.c
pxa2xx_pic.c
raspi.c hw/arm/raspi: Don't bother setting default_cpu_type 2018-04-26 11:04:39 +01:00
realview.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
sabrelite.c
spitz.c
stellaris.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
stm32f205_soc.c Remove checks on MAX_SERIAL_PORTS that are just bounds checks 2018-04-26 13:57:00 +01:00
strongarm.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
strongarm.h
sysbus-fdt.c
tosa.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
trace-events
versatilepb.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
vexpress.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
virt-acpi-build.c virt_arm: acpi: reuse common build_fadt() 2018-03-13 23:09:50 +02:00
virt.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
xilinx_zynq.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
xlnx-zcu102.c
xlnx-zynqmp.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
z2.c