summaryrefslogtreecommitdiff
path: root/board/toradex/colibri_t20
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-06 14:47:20 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2018-09-20 17:20:20 +0200
commitf1e533e5c889d76d9221422865af55a47f0440a1 (patch)
tree0e712516edccb1179bc6897f431f83f75599236b /board/toradex/colibri_t20
parent08972759fde2309f36e3c12a482098c9222d12cc (diff)
mtd: nand: colibri_t20: more comments/debug output
Add more comments resp. debug output concerning block size and ECC requirements of NAND flashes. This in aiding further investigation/ integration of support for future NAND flash parts. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'board/toradex/colibri_t20')
-rw-r--r--board/toradex/colibri_t20/colibri_t20.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c
index 67b21d67f65..ca6c0e18710 100644
--- a/board/toradex/colibri_t20/colibri_t20.c
+++ b/board/toradex/colibri_t20/colibri_t20.c
@@ -111,7 +111,8 @@ int arch_misc_init(void)
setenv("leb-size", "504KiB");
break;
default:
- printf("Failed detecting NAND block erase size.\n");
+ printf("Failed detecting NAND block erase size "
+ "(%d KiB).\n", nand_info[0]->erasesize >> 10);
}
}