diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-06-02 11:51:48 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2017-06-02 11:51:48 +0100 |
| commit | e9235c6983b261e04e897e8ff900b2b7a391e644 (patch) | |
| tree | 40b2b81ffaa069c3a328906845bf36fe0246a4b7 /hw/i2c/imx_i2c.c | |
| parent | 06312febfb2d35367006ef23608ddd6a131214d4 (diff) | |
| download | focaccia-qemu-e9235c6983b261e04e897e8ff900b2b7a391e644.tar.gz focaccia-qemu-e9235c6983b261e04e897e8ff900b2b7a391e644.zip | |
arm: Remove unnecessary check on cpu->pmsav7_dregion
Now that we enforce both: * pmsav7_dregion == 0 implies has_mpu == false * PMSA with has_mpu == false means SCTLR.M cannot be set we can remove a check on pmsav7_dregion from get_phys_addr_pmsav7(), because we can only reach this code path if the MPU is enabled (and so region_translation_disabled() returned false). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 1493122030-32191-8-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/i2c/imx_i2c.c')
0 files changed, 0 insertions, 0 deletions