diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-06-11 09:07:04 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-06-11 09:07:04 +0200 |
commit | ce33ef997cfeb7b77300227a6ffab9936ea51940 (patch) | |
tree | 50a86b5d51bdc62b7b33b95fcaa3e3e64f9a168b /target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch | |
parent | e6d4744f9ad0f76ddf1cded75355e240e81be41e (diff) | |
download | upstream-ce33ef997cfeb7b77300227a6ffab9936ea51940.tar.gz upstream-ce33ef997cfeb7b77300227a6ffab9936ea51940.tar.bz2 upstream-ce33ef997cfeb7b77300227a6ffab9936ea51940.zip |
bcm63xx: switch to upstream NAND patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch b/target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch deleted file mode 100644 index cdf8d3d4d6..0000000000 --- a/target/linux/bcm63xx/patches-5.4/440-mtd-rawnand-brcmnand-rename-page-sizes.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/drivers/mtd/nand/raw/brcmnand/brcmnand.c -+++ b/drivers/mtd/nand/raw/brcmnand/brcmnand.c -@@ -502,7 +502,7 @@ static int brcmnand_revision_init(struct - { - static const unsigned int block_sizes_v6[] = { 8, 16, 128, 256, 512, 1024, 2048, 0 }; - static const unsigned int block_sizes_v4[] = { 16, 128, 8, 512, 256, 1024, 2048, 0 }; -- static const unsigned int page_sizes[] = { 512, 2048, 4096, 8192, 0 }; -+ static const unsigned int page_sizes_v3_4[] = { 512, 2048, 4096, 8192, 0 }; - - ctrl->nand_version = nand_readreg(ctrl, 0) & 0xffff; - -@@ -549,7 +549,7 @@ static int brcmnand_revision_init(struct - ctrl->max_page_size = 16 * 1024; - ctrl->max_block_size = 2 * 1024 * 1024; - } else { -- ctrl->page_sizes = page_sizes; -+ ctrl->page_sizes = page_sizes_v3_4; - if (ctrl->nand_version >= 0x0600) - ctrl->block_sizes = block_sizes_v6; - else |