1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar71xx] add flash locking code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16311 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2009-06-03 18:17:07 +00:00
parent 5b0cf9ddca
commit 46831ebc02
2 changed files with 27 additions and 1 deletions

View File

@@ -422,6 +422,10 @@ 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);
/*
* MII_CTRL block
*/