forked from Ivasoft/openwrt
update flash locking code
SVN-Revision: 16359
This commit is contained in:
@@ -422,7 +422,6 @@ void ar71xx_device_start(u32 mask);
|
||||
#define SPI_IOC_CS2 SPI_IOC_CS(2)
|
||||
#define SPI_IOC_CS_ALL (SPI_IOC_CS0 | SPI_IOC_CS1 | SPI_IOC_CS2)
|
||||
|
||||
void ar71xx_flash_lock_enable(void) __init;
|
||||
void ar71xx_flash_acquire(void);
|
||||
void ar71xx_flash_release(void);
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ struct ar71xx_spi_platform_data {
|
||||
|
||||
struct ar91xx_flash_platform_data {
|
||||
unsigned int width;
|
||||
u8 is_shared:1;
|
||||
#ifdef CONFIG_MTD_PARTITIONS
|
||||
unsigned int nr_parts;
|
||||
struct mtd_partition *parts;
|
||||
|
||||
Reference in New Issue
Block a user