diff options
author | Heyi Guo | 2019-12-09 07:37:18 +0100 |
---|---|---|
committer | Peter Maydell | 2019-12-16 11:46:35 +0100 |
commit | f3635813977cfde33f0bb76bb1a169410e6cdbac (patch) | |
tree | 88b8dd26f7c10fb3d061aba17a1af73767f6b9d7 /hw/i2c/aspeed_i2c.c | |
parent | hw/arm/sbsa-ref: Simplify by moving the gic in the machine state (diff) | |
download | qemu-f3635813977cfde33f0bb76bb1a169410e6cdbac.tar.gz qemu-f3635813977cfde33f0bb76bb1a169410e6cdbac.tar.xz qemu-f3635813977cfde33f0bb76bb1a169410e6cdbac.zip |
hw/arm/acpi: simplify AML bit and/or statement
The last argument of AML bit and/or statement is the target variable,
so we don't need to use a NULL target and then an additional store
operation; using just aml_and() or aml_or() statement is enough.
Also update tests/data/acpi/virt/DSDT* to pass "make check".
Cc: Shannon Zhao <shannon.zhaosl@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Heyi Guo <guoheyi@huawei.com>
Message-id: 20191209063719.23086-2-guoheyi@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/aspeed_i2c.c')
0 files changed, 0 insertions, 0 deletions