From: Lukasz Majewski Date: Wed, 9 Nov 2011 10:27:14 +0000 (+0100) Subject: onenand:samsung OneNAND chip probe functions added for GONI and Exynos4210 X-Git-Tag: v2012.04-rc2~9^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f9c249836b1c081cb1b6b6bf063923473df6884;p=platform%2Fkernel%2Fu-boot.git onenand:samsung OneNAND chip probe functions added for GONI and Exynos4210 Separate callback for probing OneNAND memory chip. Tested at: Samsung S5PC110 GONI Samsung Exynos4210 (S5PC210 Universal) Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- diff --git a/board/samsung/goni/onenand.c b/board/samsung/goni/onenand.c index 8d3769b..9dd80fa 100644 --- a/board/samsung/goni/onenand.c +++ b/board/samsung/goni/onenand.c @@ -33,4 +33,5 @@ void onenand_board_init(struct mtd_info *mtd) this->base = (void *)CONFIG_SYS_ONENAND_BASE; this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK; + this->chip_probe = s5pc110_chip_probe; } diff --git a/board/samsung/universal_c210/onenand.c b/board/samsung/universal_c210/onenand.c index 20e1dc5..5b92308 100644 --- a/board/samsung/universal_c210/onenand.c +++ b/board/samsung/universal_c210/onenand.c @@ -24,6 +24,7 @@ #include #include #include +#include void onenand_board_init(struct mtd_info *mtd) { @@ -31,4 +32,5 @@ void onenand_board_init(struct mtd_info *mtd) this->base = (void *)CONFIG_SYS_ONENAND_BASE; this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK; + this->chip_probe = s5pc210_chip_probe; }