aboutsummaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-16 23:37:15 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-16 23:37:15 +0000
commit6725070d8dba75fefb9f852c64239a988ef42caa (patch)
treee336319385e6b144701f1f644aa86fa48f2343ff /hw/flash.h
parent422ebf6979001c2874151509260c73c2bcede5da (diff)
downloadqemu-6725070d8dba75fefb9f852c64239a988ef42caa.zip
qemu-6725070d8dba75fefb9f852c64239a988ef42caa.tar.gz
qemu-6725070d8dba75fefb9f852c64239a988ef42caa.tar.bz2
Allow a custom unlock address in CFI02 flash (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4218 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/flash.h b/hw/flash.h
index c000d33..2e6b61e 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -13,7 +13,8 @@ pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
BlockDriverState *bs, uint32_t sector_len,
int nb_blocs, int width,
uint16_t id0, uint16_t id1,
- uint16_t id2, uint16_t id3);
+ uint16_t id2, uint16_t id3,
+ uint16_t unlock_addr0, uint16_t unlock_addr1);
/* nand.c */
struct nand_flash_s;