From f644fac35bff8cf4b9a02c25eef765e4cb4a3a2c Mon Sep 17 00:00:00 2001 From: Ivan Belokobylskiy Date: Mon, 25 Nov 2024 21:41:57 +0300 Subject: [PATCH] fix patch2 --- .../linux/imx/patches-6.6/400-gpmi-nand.patch | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/target/linux/imx/patches-6.6/400-gpmi-nand.patch b/target/linux/imx/patches-6.6/400-gpmi-nand.patch index 50e8692e0fce89..28bc28d3ff9c53 100644 --- a/target/linux/imx/patches-6.6/400-gpmi-nand.patch +++ b/target/linux/imx/patches-6.6/400-gpmi-nand.patch @@ -116,21 +116,21 @@ Signed-off-by: Alexey Sadkov return -ENOTSUPP; /* Stop here if this call was just a check */ -@@ -1157,6 +1195,14 @@ - .clks = gpmi_clks_for_mx6, - .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), - }; -+ -+static const struct gpmi_devdata gpmi_devdata_imx6qp = { -+ .type = IS_MX6QP, -+ .bch_max_ecc_strength = 40, +@@ -1152,6 +1190,14 @@ + + static const struct gpmi_devdata gpmi_devdata_imx6q = { + .type = IS_MX6Q, ++ .bch_max_ecc_strength = 20, + .max_chain_delay = 12000, + .clks = gpmi_clks_for_mx6, + .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), +}; - - static const struct gpmi_devdata gpmi_devdata_imx6sx = { - .type = IS_MX6SX, ++ ++static const struct gpmi_devdata gpmi_devdata_imx6qp = { ++ .type = IS_MX6QP, + .bch_max_ecc_strength = 40, + .max_chain_delay = 12000, + .clks = gpmi_clks_for_mx6, @@ -1177,6 +1223,17 @@ .clks = gpmi_clks_for_mx7d, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx7d),