]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
onenand:samsung OneNAND chip probe functions added for GONI and Exynos4210
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 9 Nov 2011 10:27:14 +0000 (11:27 +0100)
committerLukasz Majewski <l.majewski@samsung.com>
Wed, 4 Apr 2012 14:27:35 +0000 (16:27 +0200)
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>
board/samsung/goni/onenand.c
board/samsung/universal_c210/onenand.c

index 8d3769b9167932bae238413a170dcbee23b20584..9dd80fa6789d9c8e73407ff98d80039e40a9d6a7 100644 (file)
@@ -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;
 }
index 20e1dc54eb2a9d1010b38ab519994f558b2f7356..5b92308653c623266f121bd1d343664746383c37 100644 (file)
@@ -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;
 }