| Submitter | Peter Crosthwaite |
|---|---|
| Date | Oct. 22, 2012, 7:19 a.m. |
| Message ID | <afbf764a4d3710eb6471732deb59cc03a0e7b3e7.1350889929.git.peter.crosthwaite@xilinx.com> |
| Download | mbox | patch |
| Permalink | /patch/193088/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index 4f3f5f0..ebc8a57 100644 --- a/hw/pflash_cfi01.c +++ b/hw/pflash_cfi01.c @@ -62,7 +62,6 @@ do { \ struct pflash_t { BlockDriverState *bs; target_phys_addr_t sector_len; - target_phys_addr_t total_len; int width; int wcycle; /* if 0, the flash is read normally */ int bypass; @@ -594,7 +593,6 @@ pflash_t *pflash_cfi01_register(target_phys_addr_t base, pfl->timer = qemu_new_timer_ns(vm_clock, pflash_timer, pfl); pfl->sector_len = sector_len; - pfl->total_len = total_len; pfl->width = width; pfl->wcycle = 0; pfl->cmd = 0;