diff options
author | Marcin Krzeminski <marcin.krzeminski@nokia.com> | 2016-03-30 17:27:24 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-03-30 17:27:24 +0100 |
commit | d31912bd7eabae09cf2e69becb17e6773c3794ef (patch) | |
tree | 414d349d931e055df273cdb70618a1f37a325530 | |
parent | 9fbaa364775a4a7a97526f41d17e4361e8280d55 (diff) |
block: m25p80: n25q256a/n25q512a models
Signed-off-by: Marcin Krzeminski <marcin.krzeminski@nokia.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 1458719789-29868-11-git-send-email-marcin.krzeminski@nokia.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | hw/block/m25p80.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |