mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
0fed070c38
Fix NAND BCH geometry as otherwise the following errors are observed
upon boot:
...
Loading Environment from NAND... NAND read from offset 380000 failed -74
...
NAND read from offset 800 failed -74
...
ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes
from PEB 0:0, read 64 bytes
...
Fixes: ed48490f8d
("mtd: gpmi: fix the bch setting backward compatible issue")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2018-2021 Toradex AG
|
|
*/
|
|
|
|
#include "imx6ull-colibri.dtsi"
|
|
#include "imx6ull-colibri-u-boot.dtsi"
|
|
|
|
/ {
|
|
model = "Toradex Colibri iMX6ULL";
|
|
compatible = "toradex,colibri-imx6ull", "fsl,imx6ull";
|
|
};
|
|
|
|
/* NAND */
|
|
&gpmi {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_gpmi_nand>;
|
|
fsl,use-minimum-ecc;
|
|
nand-on-flash-bbt;
|
|
nand-ecc-mode = "hw";
|
|
nand-ecc-strength = <8>;
|
|
nand-ecc-step-size = <512>;
|
|
status = "okay";
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl_gpmi_nand: gpmi-nand-grp {
|
|
fsl,pins = <
|
|
MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0x100a9
|
|
MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0x100a9
|
|
MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0x100a9
|
|
MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0x100a9
|
|
MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0x100a9
|
|
MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0x100a9
|
|
MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0x100a9
|
|
MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0x100a9
|
|
MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0x100a9
|
|
MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0x100a9
|
|
MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0x100a9
|
|
MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0x100a9
|
|
MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0x100a9
|
|
MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0x100a9
|
|
>;
|
|
};
|
|
};
|