]> Git Repo - u-boot.git/blob - board/samsung/goni/onenand.c
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
[u-boot.git] / board / samsung / goni / onenand.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2008-2009 Samsung Electronics
4  * Kyungmin Park <[email protected]>
5  */
6
7 #include <config.h>
8 #include <linux/mtd/mtd.h>
9 #include <linux/mtd/onenand.h>
10 #include <linux/mtd/samsung_onenand.h>
11 #include <onenand_uboot.h>
12
13 int onenand_board_init(struct mtd_info *mtd)
14 {
15         struct onenand_chip *this = mtd->priv;
16
17         this->base = (void *)CFG_SYS_ONENAND_BASE;
18         this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK;
19         this->chip_probe = s5pc110_chip_probe;
20
21         return 0;
22 }
This page took 0.027158 seconds and 4 git commands to generate.