upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
521 B
22 lines
521 B
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2008-2009 Samsung Electronics
|
|
* Kyungmin Park <kyungmin.park@samsung.com>
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <linux/mtd/mtd.h>
|
|
#include <linux/mtd/onenand.h>
|
|
#include <linux/mtd/samsung_onenand.h>
|
|
#include <onenand_uboot.h>
|
|
|
|
int onenand_board_init(struct mtd_info *mtd)
|
|
{
|
|
struct onenand_chip *this = mtd->priv;
|
|
|
|
this->base = (void *)CONFIG_SYS_ONENAND_BASE;
|
|
this->options |= ONENAND_RUNTIME_BADBLOCK_CHECK;
|
|
this->chip_probe = s5pc110_chip_probe;
|
|
|
|
return 0;
|
|
}
|
|
|