From f697f7177f59f5a11f799ad75c1862ccc75818e0 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 13 Sep 2013 17:24:25 +0000 Subject: [PATCH] generic/3.10: rename mtd patches - change patch numbers to group the related stuff together, - add mtd prefix where it is missing, - use hyphens in the patch names Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...{400-rootfs_split.patch => 400-mtd-add-rootfs-split-support.patch} | 0 ...atch => 410-mtd-move-forward-declaration-of-struct-mtd_info.patch} | 0 ..._eraseblock_write.patch => 411-mtd-partial_eraseblock_write.patch} | 0 ...raseblock_unlock.patch => 412-mtd-partial_eraseblock_unlock.patch} | 0 .../{420-redboot_space.patch => 420-mtd-redboot_space.patch} | 0 ...ition_parser.patch => 430-mtd-add-myloader-partition-parser.patch} | 0 ...h => 450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch} | 0 ... 451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch} | 0 ...e_suspend.patch => 460-mtd-cfi_cmdset_0002-no-erase_suspend.patch} | 0 ...tch => 461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch} | 0 ...lash_support.patch => 470-mtd-m25p80-add-pm25-flash-support.patch} | 4 ++-- ...patch => 471-mtd-m25p80-allow-to-disable-small-sector-erase.patch} | 2 +- 12 files changed, 3 insertions(+), 3 deletions(-) rename target/linux/generic/patches-3.10/{400-rootfs_split.patch => 400-mtd-add-rootfs-split-support.patch} (100%) rename target/linux/generic/patches-3.10/{410-mtd_info_move_forward_decl.patch => 410-mtd-move-forward-declaration-of-struct-mtd_info.patch} (100%) rename target/linux/generic/patches-3.10/{401-partial_eraseblock_write.patch => 411-mtd-partial_eraseblock_write.patch} (100%) rename target/linux/generic/patches-3.10/{478-mtd-partial_eraseblock_unlock.patch => 412-mtd-partial_eraseblock_unlock.patch} (100%) rename target/linux/generic/patches-3.10/{420-redboot_space.patch => 420-mtd-redboot_space.patch} (100%) rename target/linux/generic/patches-3.10/{430-mtd_myloader_partition_parser.patch => 430-mtd-add-myloader-partition-parser.patch} (100%) rename target/linux/generic/patches-3.10/{450-mtd_plat_nand_chip_fixup.patch => 450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch} (100%) rename target/linux/generic/patches-3.10/{451-mtd_fix_nand_correct_data_return_code.patch => 451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch} (100%) rename target/linux/generic/patches-3.10/{460-cfi_cmdset_0002_no_erase_suspend.patch => 460-mtd-cfi_cmdset_0002-no-erase_suspend.patch} (100%) rename target/linux/generic/patches-3.10/{475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch => 461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch} (100%) rename target/linux/generic/patches-3.10/{470-mtd_m25p80_add_pm25_flash_support.patch => 470-mtd-m25p80-add-pm25-flash-support.patch} (96%) rename target/linux/generic/patches-3.10/{476-mtd-m25p80-allow-to-disable-small-sector-erase.patch => 471-mtd-m25p80-allow-to-disable-small-sector-erase.patch} (95%) diff --git a/target/linux/generic/patches-3.10/400-rootfs_split.patch b/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch similarity index 100% rename from target/linux/generic/patches-3.10/400-rootfs_split.patch rename to target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch diff --git a/target/linux/generic/patches-3.10/410-mtd_info_move_forward_decl.patch b/target/linux/generic/patches-3.10/410-mtd-move-forward-declaration-of-struct-mtd_info.patch similarity index 100% rename from target/linux/generic/patches-3.10/410-mtd_info_move_forward_decl.patch rename to target/linux/generic/patches-3.10/410-mtd-move-forward-declaration-of-struct-mtd_info.patch diff --git a/target/linux/generic/patches-3.10/401-partial_eraseblock_write.patch b/target/linux/generic/patches-3.10/411-mtd-partial_eraseblock_write.patch similarity index 100% rename from target/linux/generic/patches-3.10/401-partial_eraseblock_write.patch rename to target/linux/generic/patches-3.10/411-mtd-partial_eraseblock_write.patch diff --git a/target/linux/generic/patches-3.10/478-mtd-partial_eraseblock_unlock.patch b/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch similarity index 100% rename from target/linux/generic/patches-3.10/478-mtd-partial_eraseblock_unlock.patch rename to target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch diff --git a/target/linux/generic/patches-3.10/420-redboot_space.patch b/target/linux/generic/patches-3.10/420-mtd-redboot_space.patch similarity index 100% rename from target/linux/generic/patches-3.10/420-redboot_space.patch rename to target/linux/generic/patches-3.10/420-mtd-redboot_space.patch diff --git a/target/linux/generic/patches-3.10/430-mtd_myloader_partition_parser.patch b/target/linux/generic/patches-3.10/430-mtd-add-myloader-partition-parser.patch similarity index 100% rename from target/linux/generic/patches-3.10/430-mtd_myloader_partition_parser.patch rename to target/linux/generic/patches-3.10/430-mtd-add-myloader-partition-parser.patch diff --git a/target/linux/generic/patches-3.10/450-mtd_plat_nand_chip_fixup.patch b/target/linux/generic/patches-3.10/450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch similarity index 100% rename from target/linux/generic/patches-3.10/450-mtd_plat_nand_chip_fixup.patch rename to target/linux/generic/patches-3.10/450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch diff --git a/target/linux/generic/patches-3.10/451-mtd_fix_nand_correct_data_return_code.patch b/target/linux/generic/patches-3.10/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch similarity index 100% rename from target/linux/generic/patches-3.10/451-mtd_fix_nand_correct_data_return_code.patch rename to target/linux/generic/patches-3.10/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch diff --git a/target/linux/generic/patches-3.10/460-cfi_cmdset_0002_no_erase_suspend.patch b/target/linux/generic/patches-3.10/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch similarity index 100% rename from target/linux/generic/patches-3.10/460-cfi_cmdset_0002_no_erase_suspend.patch rename to target/linux/generic/patches-3.10/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch diff --git a/target/linux/generic/patches-3.10/475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch b/target/linux/generic/patches-3.10/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch similarity index 100% rename from target/linux/generic/patches-3.10/475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch rename to target/linux/generic/patches-3.10/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch diff --git a/target/linux/generic/patches-3.10/470-mtd_m25p80_add_pm25_flash_support.patch b/target/linux/generic/patches-3.10/470-mtd-m25p80-add-pm25-flash-support.patch similarity index 96% rename from target/linux/generic/patches-3.10/470-mtd_m25p80_add_pm25_flash_support.patch rename to target/linux/generic/patches-3.10/470-mtd-m25p80-add-pm25-flash-support.patch index c8317fe25d..7e62e2862c 100644 --- a/target/linux/generic/patches-3.10/470-mtd_m25p80_add_pm25_flash_support.patch +++ b/target/linux/generic/patches-3.10/470-mtd-m25p80-add-pm25-flash-support.patch @@ -54,7 +54,7 @@ Changes in v2: }; #define INFO(_jedec_id, _ext_id, _sector_size, _n_sectors, _flags) \ -@@ -762,6 +764,11 @@ static const struct spi_device_id m25p_i +@@ -765,6 +767,11 @@ static const struct spi_device_id m25p_i { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) }, { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) }, @@ -66,7 +66,7 @@ Changes in v2: /* Spansion -- single (large) sector size only, at least * for the chips listed here (without boot sectors). */ -@@ -1014,6 +1021,9 @@ static int m25p_probe(struct spi_device +@@ -1017,6 +1024,9 @@ static int m25p_probe(struct spi_device if (info->flags & SECT_4K) { flash->erase_opcode = OPCODE_BE_4K; flash->mtd.erasesize = 4096; diff --git a/target/linux/generic/patches-3.10/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch b/target/linux/generic/patches-3.10/471-mtd-m25p80-allow-to-disable-small-sector-erase.patch similarity index 95% rename from target/linux/generic/patches-3.10/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch rename to target/linux/generic/patches-3.10/471-mtd-m25p80-allow-to-disable-small-sector-erase.patch index 0f4c02779e..971c9ed8b6 100644 --- a/target/linux/generic/patches-3.10/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch +++ b/target/linux/generic/patches-3.10/471-mtd-m25p80-allow-to-disable-small-sector-erase.patch @@ -30,7 +30,7 @@ /****************************************************************************/ struct m25p { -@@ -1018,7 +1024,7 @@ static int m25p_probe(struct spi_device +@@ -1021,7 +1027,7 @@ static int m25p_probe(struct spi_device flash->mtd._write = m25p80_write; /* prefer "small sector" erase if possible */ -- 2.11.0