diff options
| author | Cédric Le Goater <clg@kaod.org> | 2016-07-14 16:51:38 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2016-07-14 16:51:38 +0100 |
| commit | 97c2ed5dbdda978e29618f356f11caa99a7df601 (patch) | |
| tree | ea62588d7188031c0346e66087f980dda1ef71f3 /hw/misc | |
| parent | 2ddfa2817b7f2be4f7ef0fd4806e06aaced9e6ac (diff) | |
| download | focaccia-qemu-97c2ed5dbdda978e29618f356f11caa99a7df601.tar.gz focaccia-qemu-97c2ed5dbdda978e29618f356f11caa99a7df601.zip | |
ast2400: replace aspeed_smc_is_implemented()
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>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions