diff options
author | Amul Kumar Saha <amul.saha@samsung.com> | 2009-11-06 17:15:31 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-11-13 16:56:18 -0600 |
commit | cacbe919584193f64e74088e03f068e52775bb86 (patch) | |
tree | 4ef455ca413a90d2d5c90e85233826e3a6b75ca0 /drivers/mtd/onenand/onenand_uboot.c | |
parent | 35209cbceebe212a8c5ec17d552960f8bd4725f3 (diff) |
Flex-OneNAND driver support
This patch adds support for Flex-OneNAND devices.
Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com>
Signed-off-by: Amul Kumar Saha <amul.saha@samsung.com>
Diffstat (limited to 'drivers/mtd/onenand/onenand_uboot.c')
-rw-r--r-- | drivers/mtd/onenand/onenand_uboot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_uboot.c b/drivers/mtd/onenand/onenand_uboot.c index 9823b5b4783..c642016c2d2 100644 --- a/drivers/mtd/onenand/onenand_uboot.c +++ b/drivers/mtd/onenand/onenand_uboot.c @@ -40,8 +40,10 @@ void onenand_init(void) onenand_scan(&onenand_mtd, 1); + if (onenand_chip.device_id & DEVICE_IS_FLEXONENAND) + puts("Flex-"); puts("OneNAND: "); - print_size(onenand_mtd.size, "\n"); + print_size(onenand_chip.chipsize, "\n"); #ifdef CONFIG_MTD_DEVICE /* |