From 6725070d8dba75fefb9f852c64239a988ef42caa Mon Sep 17 00:00:00 2001 From: balrog Date: Wed, 16 Apr 2008 23:37:15 +0000 Subject: 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 --- hw/flash.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/flash.h') diff --git a/hw/flash.h b/hw/flash.h index c000d335d9..2e6b61e72c 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; -- cgit v1.2.3