summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2011-11-09 11:27:14 +0100
committerLukasz Majewski <l.majewski@samsung.com>2012-04-04 16:27:35 +0200
commit8f9c249836b1c081cb1b6b6bf063923473df6884 (patch)
treebd5167b866899a7bcb38fdfcbf27a948a2404ef1
parent6b3967bbbb4182ab7298a816c1db7cc86adaee5e (diff)
downloadu-boot-imx-8f9c249836b1c081cb1b6b6bf063923473df6884.zip
u-boot-imx-8f9c249836b1c081cb1b6b6bf063923473df6884.tar.gz
u-boot-imx-8f9c249836b1c081cb1b6b6bf063923473df6884.tar.bz2
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 <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--board/samsung/goni/onenand.c1
-rw-r--r--board/samsung/universal_c210/onenand.c2
2 files changed, 3 insertions, 0 deletions
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 <common.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
+#include <linux/mtd/samsung_onenand.h>
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;
}