Re: [Qemu-devel] [PATCH] vexpress fix flash device-width

2017-01-05 Thread David Engraf
Am 05.01.2017 um 19:32 schrieb Peter Maydell: On 22 December 2016 at 14:02, David Engraf wrote: The current implementation uses width = 4 and device-width = 2 for the flash configuration. When using u-boot or Linux, the flash is detected as 32 x 16 bit, thus the sector

Re: [Qemu-devel] [PATCH] vexpress fix flash device-width

2017-01-05 Thread Peter Maydell
On 22 December 2016 at 14:02, David Engraf wrote: > The current implementation uses width = 4 and device-width = 2 for the flash > configuration. When using u-boot or Linux, the flash is detected as 32 x 16 > bit, thus the sector size is doubled to 512 KB. When u-boot

[Qemu-devel] [PATCH] vexpress fix flash device-width

2016-12-22 Thread David Engraf
The current implementation uses width = 4 and device-width = 2 for the flash configuration. When using u-boot or Linux, the flash is detected as 32 x 16 bit, thus the sector size is doubled to 512 KB. When u-boot sends a sector erase, only the first 256 KB are erased because the QEMU flash