From 34fcaeec51fa3f519a13eb8d127abea1853e77e5 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 20 Sep 2016 17:19:42 -0700 Subject: colibri_imx7: print warning about upcoming NAND change We plan to no longer support the work-around for errata e9609 since it does not allow to detect factory bad blocks. Print a warning to prepare customers of the upcoming change. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx7/colibri_imx7.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index 8ec2199fdd..8f928d7cc6 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -633,6 +633,19 @@ int board_late_init(void) board_late_mmc_init(); #endif + if (is_soc_rev(CHIP_REV_1_1) < 0) { + printf("\nWARNING: This module uses an early tapeout/stepping " + "of the i.MX 7 SoC which suffers a NAND flash issue " + "requiring a software workaround. This U-Boot version " + "still implements this workaround, but future U-Boot " + "versions provided by Toradex will not use the " + "workaround anymore. You must use a newer Colibri " + "iMX7 (V1.1B or later) to use future software " + "versions. For evaluation and testing purposes it will " + "be possible to keep the current U-Boot and only " + "update the kernel and root filesystem.\n\n"); + } + return 0; } -- cgit v1.2.3