diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:52:20 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:52:20 +0200 |
commit | be83f982a71eb76288d011d6681739059d9a6ead (patch) | |
tree | 910ee25687f09cd9abc43202a1aad703f0092645 /target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch | |
parent | 930195737a0916d80ad2f7fe8b0f8fe4e4691762 (diff) | |
download | upstream-be83f982a71eb76288d011d6681739059d9a6ead.tar.gz upstream-be83f982a71eb76288d011d6681739059d9a6ead.tar.bz2 upstream-be83f982a71eb76288d011d6681739059d9a6ead.zip |
sunxi: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch')
-rw-r--r-- | target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch b/target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch deleted file mode 100644 index 03c7f265d2..0000000000 --- a/target/linux/sunxi/patches-4.1/128-2-mtd-nand-support-non-ONFI-timings.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/drivers/mtd/nand/nand_base.c -+++ b/drivers/mtd/nand/nand_base.c -@@ -4262,8 +4262,13 @@ static bool find_full_id_nand(struct mtd - chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); - chip->ecc_step_ds = NAND_ECC_STEP(type); - -- mode = type->onfi_timing_mode_default; -- chip->sdr_timings = onfi_async_timing_mode_to_sdr_timings(mode); -+ if (type->custom_sdr_timing) { -+ chip->sdr_timings = type->custom_sdr_timing; -+ } else { -+ mode = type->onfi_timing_mode_default; -+ chip->sdr_timings = -+ onfi_async_timing_mode_to_sdr_timings(mode); -+ } - - *busw = type->options & NAND_BUSWIDTH_16; - ---- a/include/linux/mtd/nand.h -+++ b/include/linux/mtd/nand.h -@@ -988,6 +988,7 @@ struct nand_flash_dev { - uint16_t step_ds; - } ecc; - int onfi_timing_mode_default; -+ const struct nand_sdr_timings *custom_sdr_timing; - }; - - /** |