diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-01-27 15:20:20 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-01-27 15:20:20 +0000 |
commit | ac2810defa9d4ba856adbaa9c899defecd8585de (patch) | |
tree | 53c5682b1eafe50134b2049345a35da44e22982c /linux-user/flatload.c | |
parent | 8a26d88507b51b7cc5dc40732e51ccc135fec0f6 (diff) |
aspeed/smc: handle dummy bytes when doing fast reads in command mode
When doing fast read, a certain amount of dummy bytes should be sent
before the read. This number is configurable in the controler CE0
Control Register and needs to be modeled using fake transfers to the
flash module.
This only supports command mode. User mode requires more work and a
possible extension of the m25p80 device model.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Marcin Krzemiński <mar.krzeminski@gmail.com>
Message-id: 1484751701-2646-1-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/flatload.c')
0 files changed, 0 insertions, 0 deletions