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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8f9c249836b1c081cb1b6b6bf063923473df6884;p=u-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 8d3769b916..9dd80fa678 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 20e1dc54eb..5b92308653 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; }