* [PATCH] cfi: add support for AMIC flashes (e.g. A29L160AT)
@ 2011-03-10 8:05 Steffen Sledz
2011-03-10 13:24 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Sledz @ 2011-03-10 8:05 UTC (permalink / raw)
To: linux-mtd, linux-kernel; +Cc: David Woodhouse, Steffen Sledz
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
---
drivers/mtd/chips/cfi_cmdset_0002.c | 1 +
include/linux/mtd/cfi.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index f072fcf..8338d33 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -349,6 +349,7 @@ static struct cfi_fixup cfi_fixup_table[] = {
{ CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri },
#ifdef AMD_BOOTLOC_BUG
{ CFI_MFR_AMD, CFI_ID_ANY, fixup_amd_bootblock },
+ { CFI_MFR_AMIC, CFI_ID_ANY, fixup_amd_bootblock },
{ CFI_MFR_MACRONIX, CFI_ID_ANY, fixup_amd_bootblock },
#endif
{ CFI_MFR_AMD, 0x0050, fixup_use_secsi },
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
index a9baee6..0d823f2 100644
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -535,6 +535,7 @@ struct cfi_fixup {
#define CFI_MFR_CONTINUATION 0x007F
#define CFI_MFR_AMD 0x0001
+#define CFI_MFR_AMIC 0x0037
#define CFI_MFR_ATMEL 0x001F
#define CFI_MFR_EON 0x001C
#define CFI_MFR_FUJITSU 0x0004
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cfi: add support for AMIC flashes (e.g. A29L160AT)
2011-03-10 8:05 [PATCH] cfi: add support for AMIC flashes (e.g. A29L160AT) Steffen Sledz
@ 2011-03-10 13:24 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2011-03-10 13:24 UTC (permalink / raw)
To: Steffen Sledz; +Cc: linux-mtd, linux-kernel, David Woodhouse
On Thu, 2011-03-10 at 09:05 +0100, Steffen Sledz wrote:
> Signed-off-by: Steffen Sledz <sledz@dresearch.de>
> ---
> drivers/mtd/chips/cfi_cmdset_0002.c | 1 +
> include/linux/mtd/cfi.h | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
Pushed to l2-mtd-2.6.git tree, thanks!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-10 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 8:05 [PATCH] cfi: add support for AMIC flashes (e.g. A29L160AT) Steffen Sledz
2011-03-10 13:24 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox