Reset the FLSHxCR1 registers to default value. ROM may set the register
value and it affects the SPI NAND normal functions.
Signed-off-by: Han Xu
---
drivers/spi/nxp_fspi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/spi/nxp_fspi.c b/drivers/spi/nxp_fspi.c
index
m
> Signed-off-by: Michael Trimarchi
Acked-by: Han Xu
> ---
> V1->V2:
> - move out from RFC
> ---
> common/spl/spl_nand.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/common/spl/spl_nand.c b/common/spl/spl_nand.c
> ind
it and read it back.
>
> Cc: Han Xu
> Cc: Fabio Estevam
> Signed-off-by: Michael Trimarchi
Acked-by: Han Xu
> ---
> V1->V2:
> - Adjust the commit message
> - Add Cc Han Xu and Fabio
> - move out from RFC
> ---
> arch/arm/mach-imx/cm
d. The code was tested on an imx8mn where
> the boot rom api was not able to skip it. Apart of that other
> architecure are using this code and all boards that has nand as boot
> device can be affected
>
> Cc: Han Xu
> Cc: Fabio Estevam
> Signed-off-by: Michael Trimarchi
Ack
t;
> nand markbad 0xDEC00
> NXS NAND: Writing OOB isn't supported
> NXS NAND: Writing OOB isn't supported
> block 0x000dec00 NOT marked as bad! ERROR 0
>
> Cc: Han Xu
> Cc: Fabio Estevam
> Signed-off-by: Michael Trimarchi
Acked-by: Han Xu
> ---
> V1->V2
On 22/05/01 08:36AM, Michael Nazzareno Trimarchi wrote:
> Dear Han and Fabio
>
> On Thu, Apr 28, 2022 at 7:01 AM Michael Nazzareno Trimarchi
> wrote:
> >
> > Hi
> >
> > On Thu, Apr 28, 2022 at 2:27 AM Han Xu wrote:
> > >
> > >
> >
> -Original Message-
> From: Michael Trimarchi
> Sent: Wednesday, April 27, 2022 12:50 AM
> To: Han Xu ; U-Boot-Denx
> Cc: Ye Li ; Stefano Babic ; Miquel Raynal
> ; Fabio Estevam ; Dario
> Binacchi ; Sean Anderson
> ; linux-ker...@amarulasolutions.c
ested-by: Tim Harvey
Tested-by: Sean Nyekjaer
Signed-off-by: Han Xu
---
Changes in v2:
- change the commit log about backward compatible issue is in u-boot
- removed the unused flag
- add fixes and test tag
Changes in v3:
- fix the fixes syntax
- fix the change log syntax
- add more tes
ested-by: Tim Harvey
Tested-by: Sean Nyekjaer
Signed-off-by: Han Xu
---
Changes in v2:
- change the commit log about backward compatible issue is in u-boot
- removed the unused flag
- add fixes and test tag
Changes in v3:
- fix the fixes syntax
- fix the change log syntax
- add more test tag
-
: Tim Harvey
Signed-off-by: Han Xu
Changes in v2:
-- change the commit log about backward compatible issue is in u-boot
-- removed the unused flag
-- add fixes and test tag
---
drivers/mtd/nand/raw/mxs_nand.c| 71 ++
drivers/mtd/nand/raw/mxs_nand_dt.c | 2 -
On 22/03/22 12:34PM, Tim Harvey wrote:
> On Mon, Mar 21, 2022 at 1:37 PM Han Xu wrote:
> >
> > The code change fixed the kernel gpmi bch setting not aligned with
> > u-boot settings issue. It still uses the legacy bch geometry as the
> > default option. If users nee
c" or CONFIG_NAND_MXS_USE_MINIMUM_ECC in configs.
Fixes: 51cdf83eea mtd: gpmi: provide the option to use legacy bch geometry
Signed-off-by: Han Xu
---
drivers/mtd/nand/raw/mxs_nand.c | 71 -
1 file changed, 62 insertions(+), 9 deletions(-)
diff --git a/drivers/mt
are right, it's only fixed in NXP fork, with kernel driver
> modification. We
> >> prefer the current u-boot bch geometry, so I will send out a kernel
> patch to
> >> make them align.
> >>
> > Any progress on this?
> >
> > I see your patch in:
> >
> https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Fcommit%2Fdrivers%2Fmtd%2Fnand%2Fraw%2Fgpmi-nand%3Fh%3Dimx_5.4.70_2.3.0%26id%3Dae980dccc6189956fab047958ad0a70ec4951439&data=04%7C01%7Cfrieder.schrempf%40kontron.de%7C275b7f11361e4fd3eb7e08d91b6f0e45%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637570986066857865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=L4xAN9HDl68dmA%2FX6nnP%2Buqh6CUKTQZJeFWja5EvmPI%3D&reserved=0
> >
> > But I can't find the option for selecting legacy mode in the
> devicetree...
> >
> > /Sean
>
> __
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
--
Sincerely,
Han XU
On 04/20/2018 10:53 AM, Stefan Agner wrote:
> From: Stefan Agner
>
> Signed-off-by: Stefan Agner
> ---
>
> arch/arm/dts/imx7-colibri.dts | 28
> 1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm/dts/imx7-colibri.dts b/arch/arm/dts/imx7-colibri.dts
> i
14 matches
Mail list logo