summaryrefslogtreecommitdiffstats
path: root/scripts/simplebench/simplebench.py
diff options
context:
space:
mode:
authorBin Meng2020-08-21 16:45:35 +0200
committerPhilippe Mathieu-Daudé2020-08-21 16:49:07 +0200
commitb638627c723a8d0d2bb73489bc6bf9ff09b8d53a (patch)
treea2721c956203eb8d22041bce2420f8305721968c /scripts/simplebench/simplebench.py
parenthw/sd: Use sdbus_read_data() instead of sdbus_read_byte() when possible (diff)
downloadqemu-b638627c723a8d0d2bb73489bc6bf9ff09b8d53a.tar.gz
qemu-b638627c723a8d0d2bb73489bc6bf9ff09b8d53a.tar.xz
qemu-b638627c723a8d0d2bb73489bc6bf9ff09b8d53a.zip
hw/sd: Fix incorrect populated function switch status data structure
At present the function switch status data structure bit [399:376] are wrongly pupulated. These 3 bytes encode function switch status for the 6 function groups, with 4 bits per group, starting from function group 6 at bit 399, then followed by function group 5 at bit 395, and so on. However the codes mistakenly fills in the function group 1 status at bit 399. This fixes the code logic. Fixes: a1bb27b1e9 ("SD card emulation (initial implementation)") Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> Message-Id: <1598021136-49525-1-git-send-email-bmeng.cn@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts/simplebench/simplebench.py')
0 files changed, 0 insertions, 0 deletions