Guenter Roeck 7faf6f1790 aspeed/smc: Fix number of dummy cycles for FAST_READ_4 command
The Linux kernel recently started using FAST_READ_4 commands.
This results in flash read failures. At the same time, the m25p80
emulation is seen to read 8 more bytes than expected. Adjusting the
expected number of dummy cycles to match FAST_READ fixes the problem.

Fixes: f95c4bffdc4c ("aspeed/smc: snoop SPI transfers to fake dummy cycles")
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-03-17 11:36:44 +00:00
..
2020-03-10 16:12:49 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-02-21 09:15:04 +11:00
2020-03-12 17:34:34 +00:00
2019-10-28 19:06:47 +01:00
2020-03-05 12:18:08 -05:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00