diff options
author | Niel Fourie <lusus@denx.de> | 2021-03-22 16:05:11 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-09 00:59:50 +0300 |
commit | 3da9630b8c4c7dc61090ef43b7be4aaadf7e735b (patch) | |
tree | 4e2b60755c7ac357d671853bcca0d3d9f74a3200 /include | |
parent | 52bbcc340a5fbdaa46e26253c67d84b7af8f654e (diff) | |
download | u-boot-3da9630b8c4c7dc61090ef43b7be4aaadf7e735b.tar.xz |
ARM: pcm058: Match mainline Linux NAND ECC layout/behaviour
Enabled "fsl,legacy-bch-geometry" in U-Boot device tree overlay
to match the legacy BCH geometry layout, which mainline Linux
applies when "fsl,use-minimum-ecc" is not specified in the device
tree.
Reinstated SYS_NAND_ONFI_DETECTION, which when disabled, masked
the mismatch on SOMs with Winbond NAND flash chips.
Signed-off-by: Niel Fourie <lusus@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/pcm058.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h index 4f03699117..bc48e80949 100644 --- a/include/configs/pcm058.h +++ b/include/configs/pcm058.h @@ -19,6 +19,7 @@ /* Enable NAND support */ #define CONFIG_SYS_MAX_NAND_DEVICE 1 +#define CONFIG_SYS_NAND_ONFI_DETECTION /* Physical Memory Map */ #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR |