|
@@ -131,6 +131,11 @@ static void create_mtd_concat(void)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+unsigned long nand_size(void)
|
|
|
+{
|
|
|
+ return total_nand_size;
|
|
|
+}
|
|
|
+
|
|
|
void nand_init(void)
|
|
|
{
|
|
|
static int initialized;
|
|
@@ -152,8 +157,6 @@ void nand_init(void)
|
|
|
nand_init_chip(i);
|
|
|
#endif
|
|
|
|
|
|
- printf("%lu MiB\n", total_nand_size / 1024);
|
|
|
-
|
|
|
#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
|
|
|
/*
|
|
|
* Select the chip in the board/cpu specific driver
|