aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch b/target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch
deleted file mode 100644
index 7d63ee7983..0000000000
--- a/target/linux/bcm63xx/patches-5.4/433-MIPS-BCM63XX-enable-nand-support.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/arch/mips/bcm63xx/dev-flash.c
-+++ b/arch/mips/bcm63xx/dev-flash.c
-@@ -271,8 +271,12 @@ int __init bcm63xx_flash_register(void)
- return -ENODEV;
- }
- case BCM63XX_FLASH_TYPE_NAND:
-- pr_warn("unsupported NAND flash detected\n");
-- return -ENODEV;
-+ if (board_of_device_present("nflash")) {
-+ return 0;
-+ } else {
-+ pr_warn("unsupported NAND flash detected\n");
-+ return -ENODEV;
-+ }
- default:
- pr_err("flash detection failed for BCM%x: %d\n",
- bcm63xx_get_cpu_id(), flash_type);