From d31912bd7eabae09cf2e69becb17e6773c3794ef Mon Sep 17 00:00:00 2001 From: Marcin Krzeminski Date: Wed, 30 Mar 2016 17:27:24 +0100 Subject: block: m25p80: n25q256a/n25q512a models Signed-off-by: Marcin Krzeminski Reviewed-by: Peter Crosthwaite Message-id: 1458719789-29868-11-git-send-email-marcin.krzeminski@nokia.com Signed-off-by: Peter Maydell --- hw/block/m25p80.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/block') diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index 479d4c5f5c..bdd87fa629 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -234,8 +234,9 @@ static const FlashPartInfo known_devices[] = { { INFO("w25q80bl", 0xef4014, 0, 64 << 10, 16, ER_4K) }, { INFO("w25q256", 0xef4019, 0, 64 << 10, 512, ER_4K) }, - /* Numonyx -- n25q128 */ { INFO("n25q128", 0x20ba18, 0, 64 << 10, 256, 0) }, + { INFO("n25q256a", 0x20ba19, 0, 64 << 10, 512, ER_4K) }, + { INFO("n25q512a", 0x20ba20, 0, 64 << 10, 1024, ER_4K) }, }; typedef enum { -- cgit v1.2.3