onenand.h (691288e14dc5cccc9ff1219765554981f73a7c14) onenand.h (7b15e2bb9b1026925f0f98243cd6cf80bd3fb47d)
1/*
2 * linux/include/linux/mtd/onenand.h
3 *
4 * Copyright (C) 2005-2007 Samsung Electronics
5 * Kyungmin Park <kyungmin.park@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef __LINUX_MTD_ONENAND_H
13#define __LINUX_MTD_ONENAND_H
14
15#include <linux/mtd/onenand_regs.h>
16
17/* Note: The header order is impoertant */
18#include <onenand_uboot.h>
19
1/*
2 * linux/include/linux/mtd/onenand.h
3 *
4 * Copyright (C) 2005-2007 Samsung Electronics
5 * Kyungmin Park <kyungmin.park@samsung.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12#ifndef __LINUX_MTD_ONENAND_H
13#define __LINUX_MTD_ONENAND_H
14
15#include <linux/mtd/onenand_regs.h>
16
17/* Note: The header order is impoertant */
18#include <onenand_uboot.h>
19
20#include <linux/mtd/compat.h>
20#include <linux/compat.h>
21#include <linux/mtd/bbm.h>
22
23#define MAX_DIES 2
24#define MAX_BUFFERRAM 2
25#define MAX_ONENAND_PAGESIZE (4096 + 128)
26
27/* Scan and identify a OneNAND device */
28extern int onenand_scan (struct mtd_info *mtd, int max_chips);

--- 152 unchanged lines hidden ---
21#include <linux/mtd/bbm.h>
22
23#define MAX_DIES 2
24#define MAX_BUFFERRAM 2
25#define MAX_ONENAND_PAGESIZE (4096 + 128)
26
27/* Scan and identify a OneNAND device */
28extern int onenand_scan (struct mtd_info *mtd, int max_chips);

--- 152 unchanged lines hidden ---