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-02-04 09:00:57 +01:00
2020-03-09 15:59:31 +01:00
2020-03-17 11:23:14 +00:00
2020-03-09 15:59:31 +01:00
2020-03-17 11:36:42 +00:00
2020-02-13 14:14:55 +00:00
2020-03-09 15:59:31 +01:00
2020-02-28 16:14:57 +00:00
2020-02-28 14:57:19 -05:00
2020-03-16 12:40:47 +01:00
2020-03-09 15:59:31 +01:00
2020-02-04 09:00:57 +01:00
2020-03-09 15:59:31 +01:00
2020-01-30 16:02:03 +00:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-02-20 14:47:08 +01:00
2020-02-04 09:01:31 +01:00
2020-03-12 16:01:37 +00:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-03-09 15:59:31 +01:00
2020-02-28 14:57:19 -05:00
2020-02-28 14:57:19 -05:00
2020-02-21 09:15:04 +11:00
2020-02-28 14:57:19 -05:00
2020-02-28 14:57:19 -05:00
2020-03-12 17:34:34 +00:00
2020-02-28 14:57:19 -05:00
2020-03-17 11:23:14 +00:00
2020-02-28 14:57:19 -05:00
2019-10-28 19:06:47 +01:00
2020-02-20 14:47:08 +01:00
2020-02-28 14:57:19 -05:00
2020-03-08 09:18:29 -04:00
2020-03-08 09:18:29 -04:00
2020-03-09 15:59:31 +01:00
2020-02-04 09:00:57 +01:00
2020-02-28 14:57:19 -05:00
2020-01-24 20:59:15 +01:00
2020-03-03 11:06:39 +00:00
2020-03-12 16:27:33 +00:00
2020-03-10 10:18:20 +01:00
2020-03-09 15:59:31 +01:00
2020-03-12 16:27:33 +00:00
2020-01-09 11:41:29 +00:00
2020-02-28 14:57:19 -05:00
2020-02-06 10:38:57 +01:00
2020-02-28 14:57:19 -05:00
2020-02-28 14:57:19 -05:00
2020-03-17 11:36:44 +00:00
2020-03-09 15:59:31 +01:00
2020-03-05 12:18:08 -05:00
2020-02-28 14:57:19 -05:00
2020-02-28 14:57:19 -05:00
2020-03-17 11:23:14 +00:00
2020-02-18 20:20:49 +01:00
2020-03-08 09:27:09 -04:00
2020-01-24 20:59:15 +01:00
2020-02-27 11:50:30 +00:00
2020-02-04 09:00:57 +01:00
2020-02-19 10:33:38 +01:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00