qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: David Engraf
Subject: [Qemu-devel] [PATCH] vexpress fix flash device-width
Date: Thu, 22 Dec 2016 15:02:54 +0100

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 implementation uses the configured sector size of 256 KB and ignores the width and device-width ratio.

This patch will change device-width to 4, thus the width and device-width are equal and u-boot detects the flash as 32 x 32 bit with the correct sector size of 256 KB.

- David

Attachment: vexpress.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]