From a07788ae6303312c57760bec6d6f34814c016f18 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 14 Sep 2010 12:03:01 +0000 Subject: [PATCH] generic: add support for the EON EN25F32 flash chip * based on a patch by laigor from #7882 SVN-Revision: 23058 --- .../090-mtd-m25p80-add-en25f32-chip-support.patch | 12 ++++++++++++ .../090-mtd-m25p80-add-en25f32-chip-support.patch | 12 ++++++++++++ .../090-mtd-m25p80-add-en25f32-chip-support.patch | 12 ++++++++++++ .../090-mtd-m25p80-add-en25f32-chip-support.patch | 12 ++++++++++++ .../090-mtd-m25p80-add-en25f32-chip-support.patch | 12 ++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 target/linux/generic/patches-2.6.32/090-mtd-m25p80-add-en25f32-chip-support.patch create mode 100644 target/linux/generic/patches-2.6.33/090-mtd-m25p80-add-en25f32-chip-support.patch create mode 100644 target/linux/generic/patches-2.6.34/090-mtd-m25p80-add-en25f32-chip-support.patch create mode 100644 target/linux/generic/patches-2.6.35/090-mtd-m25p80-add-en25f32-chip-support.patch create mode 100644 target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch diff --git a/target/linux/generic/patches-2.6.32/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.32/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 000000000000..033ad77fc044 --- /dev/null +++ b/target/linux/generic/patches-2.6.32/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -628,7 +628,8 @@ static struct flash_info __devinitdata m + { "mx25l12805d", 0xc22018, 0, 64 * 1024, 256, }, + { "mx25l12855e", 0xc22618, 0, 64 * 1024, 256, }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", 0x1c3116, 0, 64 * 1024, 64, SECT_4K }, + { "en25p32", 0x1c2016, 0, 64 * 1024, 64, }, + { "en25p64", 0x1c2017, 0, 64 * 1024, 128, }, + diff --git a/target/linux/generic/patches-2.6.33/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.33/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 000000000000..70bc1785043c --- /dev/null +++ b/target/linux/generic/patches-2.6.33/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -647,7 +647,8 @@ static const struct spi_device_id m25p_i + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + diff --git a/target/linux/generic/patches-2.6.34/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.34/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 000000000000..aa01aab24aba --- /dev/null +++ b/target/linux/generic/patches-2.6.34/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -648,7 +648,8 @@ static const struct spi_device_id m25p_i + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + diff --git a/target/linux/generic/patches-2.6.35/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.35/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 000000000000..aa01aab24aba --- /dev/null +++ b/target/linux/generic/patches-2.6.35/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -648,7 +648,8 @@ static const struct spi_device_id m25p_i + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + diff --git a/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch b/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch new file mode 100644 index 000000000000..5de170dfeeef --- /dev/null +++ b/target/linux/generic/patches-2.6.36/090-mtd-m25p80-add-en25f32-chip-support.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -656,7 +656,8 @@ static const struct spi_device_id m25p_i + { "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) }, + { "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) }, + +- /* EON -- en25pxx */ ++ /* EON -- en25xxx */ ++ { "en25f32", INFO(0x1c3116, 0, 64 * 1024, 64, SECT_4K) }, + { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) }, + { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + -- 2.30.2