From 8f9c249836b1c081cb1b6b6bf063923473df6884 Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Wed, 9 Nov 2011 11:27:14 +0100 Subject: [PATCH] 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 --- board/samsung/goni/onenand.c | 1 + board/samsung/universal_c210/onenand.c | 2 ++ 2 files changed, 3 insertions(+) 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; } -- 2.39.5