]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/mtd/latch-addr-flash.h
2 * Interface for NOR flash driver whose high address lines are latched
4 * Copyright © 2008 MontaVista Software, Inc. <source@mvista.com>
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
10 #ifndef __LATCH_ADDR_FLASH__
11 #define __LATCH_ADDR_FLASH__
16 struct latch_addr_flash_data
{
20 int (*init
)(void *data
, int cs
);
21 void (*done
)(void *data
);
22 void (*set_window
)(unsigned long offset
, void *data
);
25 unsigned int nr_parts
;
26 struct mtd_partition
*parts
;