summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-04-09 17:07:50 +0200
committerWolfgang Denk <wd@denx.de>2012-04-09 17:07:50 +0200
commit691288e14dc5cccc9ff1219765554981f73a7c14 (patch)
treeac69f4439cb87dd0234f89ca112789f744604256 /board
parent5c877b1ae0a4219ed6bd8d32cf3f7106b81ecb3b (diff)
parenta08a649d7034333a3f47d11fa76f98abac70a256 (diff)
downloadu-boot-imx-691288e14dc5cccc9ff1219765554981f73a7c14.zip
u-boot-imx-691288e14dc5cccc9ff1219765554981f73a7c14.tar.gz
u-boot-imx-691288e14dc5cccc9ff1219765554981f73a7c14.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-onenand
* 'master' of git://git.denx.de/u-boot-onenand: onenand: samsung: Enable OneNAND support at Samsung's Exynos4210 onenand: Replace ONENAND_IS_MLC() with ONENAND_HAS_4KB() onenand:samsung OneNAND chip probe functions added for GONI and Exynos4210 onenand:samsung Target dependent OneNAND chip probe function
Diffstat (limited to 'board')
-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;
}