All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC
@ 2019-05-28  9:35 Eugen.Hristev at microchip.com
  2019-06-10  6:13 ` Eugen.Hristev at microchip.com
  0 siblings, 1 reply; 2+ messages in thread
From: Eugen.Hristev at microchip.com @ 2019-05-28  9:35 UTC (permalink / raw)
  To: u-boot

From: Eugen Hristev <eugen.hristev@microchip.com>

NAND:  BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()!

This board has a NAND flash enabled, and it requires the HW PMECC in order
to correctly probe this flash.
In the NAND flash configuration , this is selected by the GENERATE_PMECC_HEADER
which is not needed for mmc configuration.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 configs/sama5d4_xplained_mmc_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig
index 6914c29..c232da9 100644
--- a/configs/sama5d4_xplained_mmc_defconfig
+++ b/configs/sama5d4_xplained_mmc_defconfig
@@ -58,6 +58,8 @@ CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
 CONFIG_NAND=y
 CONFIG_NAND_ATMEL=y
+CONFIG_ATMEL_NAND_HW_PMECC=y
+CONFIG_PMECC_CAP=8
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=30000000
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC
  2019-05-28  9:35 [U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC Eugen.Hristev at microchip.com
@ 2019-06-10  6:13 ` Eugen.Hristev at microchip.com
  0 siblings, 0 replies; 2+ messages in thread
From: Eugen.Hristev at microchip.com @ 2019-06-10  6:13 UTC (permalink / raw)
  To: u-boot



On 28.05.2019 12:35, Eugen Hristev - M18282 wrote:
> From: Eugen Hristev <eugen.hristev@microchip.com>
> 
> NAND:  BUG at drivers/mtd/nand/raw/nand_base.c:4361/nand_scan_tail()!
> 
> This board has a NAND flash enabled, and it requires the HW PMECC in order
> to correctly probe this flash.
> In the NAND flash configuration , this is selected by the GENERATE_PMECC_HEADER
> which is not needed for mmc configuration.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---

Applied to u-boot-atmel/master

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-10  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28  9:35 [U-Boot] [PATCH] configs: atmel: sama5d4_xplained_mmc: enable HW PMECC Eugen.Hristev at microchip.com
2019-06-10  6:13 ` Eugen.Hristev at microchip.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.