97c2ed5dbd
aspeed_smc_is_implemented() filters invalid registers in a peculiar way. Let's remove it and open code the if conditions. It serves the same purpose, the aesthetic is better, and new registers can easily be added. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 1467994016-11678-3-git-send-email-clg@kaod.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
aspeed_smc.c | ||
imx_spi.c | ||
Makefile.objs | ||
omap_spi.c | ||
pl022.c | ||
ssi.c | ||
xilinx_spi.c | ||
xilinx_spips.c |