mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
2213b20aee
Refreshed all patches. Altered patches: - 180-usb-xhci-add-support-for-performing-fake-doorbell.patch Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
14 lines
519 B
Diff
14 lines
519 B
Diff
--- a/drivers/mtd/ubi/build.c
|
|
+++ b/drivers/mtd/ubi/build.c
|
|
@@ -852,9 +852,8 @@ int ubi_attach_mtd_dev(struct mtd_info *
|
|
* will die soon and you will lose all your data.
|
|
*/
|
|
if (mtd->type == MTD_MLCNANDFLASH) {
|
|
- pr_err("ubi: refuse attaching mtd%d - MLC NAND is not supported\n",
|
|
+ pr_warn("ubi: mtd%d has been identified as a MLC NAND!! - MLC is not supported by UBI and UBIFS and _WILL_ cause corruption in the near future!\n",
|
|
mtd->index);
|
|
- return -EINVAL;
|
|
}
|
|
|
|
if (ubi_num == UBI_DEV_NUM_AUTO) {
|