diff options
| author | Rene Stange <rsta2@o2online.de> | 2020-02-07 14:04:27 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-07 14:04:27 +0000 |
| commit | eb87ff05eab2a39bc0fcd8b4ec51433c4e7fbe42 (patch) | |
| tree | 457bc59d7ea9df52e6dcea742add7c02399bc87b /hw/timer/stm32f2xx_timer.c | |
| parent | d63d0ec59d87a698de5ed843288f90a23470cf2e (diff) | |
| download | focaccia-qemu-eb87ff05eab2a39bc0fcd8b4ec51433c4e7fbe42.tar.gz focaccia-qemu-eb87ff05eab2a39bc0fcd8b4ec51433c4e7fbe42.zip | |
bcm2835_dma: Fix the ylen loop in TD mode
In TD (two dimensions) DMA mode ylen has to be increased by one after reading it from the TXFR_LEN register, because a value of zero has to result in one run through of the ylen loop. This has been tested on a real Raspberry Pi 3 Model B+. In the previous implementation the ylen loop was not passed at all for a value of zero. Signed-off-by: Rene Stange <rsta2@o2online.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/stm32f2xx_timer.c')
0 files changed, 0 insertions, 0 deletions