mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
64b53247c4
Refresh patches. Remove upstreamed patch: generic/pending/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch Update patches that no longer applies: generic/hack/901-debloat_sock_diag.patch Compile-tested on: x86/64. Runtime-tested on: x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 71f568692a6d0a746d72c32d46a1bc09486b9dbb Mon Sep 17 00:00:00 2001
|
|
From: Xiaolei Li <xiaolei.li@mediatek.com>
|
|
Date: Sat, 28 Oct 2017 14:52:23 +0800
|
|
Subject: [PATCH 140/224] mtd: nand: mtk: change the compile sequence of
|
|
mtk_nand.o and mtk_ecc.o
|
|
|
|
There will get mtk ecc handler during mtk nand probe now.
|
|
If mtk ecc module is not initialized, then mtk nand probe will return
|
|
-EPROBE_DEFER, and retry later.
|
|
|
|
Change the compile sequence of mtk_nand.o and mtk_ecc.o, initialize mtk
|
|
ecc module before mtk nand module. This makes mtk nand module initialized
|
|
as soon as possible.
|
|
|
|
Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
|
|
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
|
|
---
|
|
drivers/mtd/nand/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/mtd/nand/Makefile
|
|
+++ b/drivers/mtd/nand/Makefile
|
|
@@ -59,7 +59,7 @@ obj-$(CONFIG_MTD_NAND_SUNXI) += sunxi_n
|
|
obj-$(CONFIG_MTD_NAND_HISI504) += hisi504_nand.o
|
|
obj-$(CONFIG_MTD_NAND_BRCMNAND) += brcmnand/
|
|
obj-$(CONFIG_MTD_NAND_QCOM) += qcom_nandc.o
|
|
-obj-$(CONFIG_MTD_NAND_MTK) += mtk_nand.o mtk_ecc.o
|
|
+obj-$(CONFIG_MTD_NAND_MTK) += mtk_ecc.o mtk_nand.o
|
|
|
|
nand-objs := nand_base.o nand_bbt.o nand_timings.o nand_ids.o
|
|
nand-objs += nand_amd.o
|