aboutsummaryrefslogtreecommitdiff
path: root/hw/pflash_cfi01.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2012-10-30 07:45:11 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-10-30 07:45:11 +0000
commitb7dff23a487fffccd7c395da95e9b02bebe48bee (patch)
treec542205e54bb3caab04e1d8968a3113773d0d180 /hw/pflash_cfi01.c
parent5170d661dc1a2a28e1a242f6814bea4dcc29ad23 (diff)
downloadqemu-b7dff23a487fffccd7c395da95e9b02bebe48bee.zip
qemu-b7dff23a487fffccd7c395da95e9b02bebe48bee.tar.gz
qemu-b7dff23a487fffccd7c395da95e9b02bebe48bee.tar.bz2
pflash_cfi0x: remove unused base field
This field is completely unused. The base address should also be abstracted away from the device anyway. Removed. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pflash_cfi01.c')
-rw-r--r--hw/pflash_cfi01.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index 5e3a409..2e29f8a 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -61,7 +61,6 @@ do { \
struct pflash_t {
BlockDriverState *bs;
- hwaddr base;
hwaddr sector_len;
hwaddr total_len;
int width;
@@ -594,7 +593,6 @@ pflash_t *pflash_cfi01_register(hwaddr base,
}
pfl->timer = qemu_new_timer_ns(vm_clock, pflash_timer, pfl);
- pfl->base = base;
pfl->sector_len = sector_len;
pfl->total_len = total_len;
pfl->width = width;