projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9523d1
)
m48t59: remove unused m48t59_set_addr
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 13 Oct 2012 18:46:05 +0000
(18:46 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 10 Nov 2012 13:49:20 +0000
(13:49 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/m48t59.c
patch
|
blob
|
history
hw/nvram.h
patch
|
blob
|
history
diff --git
a/hw/m48t59.c
b/hw/m48t59.c
index 9e8e692669f72c31b79222b36a1ff4b311ff19b4..7da7e7c822cebf379e9f5ac630ab47890ad5eab6 100644
(file)
--- a/
hw/m48t59.c
+++ b/
hw/m48t59.c
@@
-468,13
+468,6
@@
uint32_t m48t59_read (void *opaque, uint32_t addr)
return retval;
}
-void m48t59_set_addr (void *opaque, uint32_t addr)
-{
- M48t59State *NVRAM = opaque;
-
- NVRAM->addr = addr;
-}
-
void m48t59_toggle_lock (void *opaque, int lock)
{
M48t59State *NVRAM = opaque;
diff --git
a/hw/nvram.h
b/hw/nvram.h
index 72363ced42d01084be03c44f93be2e9fec87255e..59337faaadd796e190cb49aba8b4d272efc881fd 100644
(file)
--- a/
hw/nvram.h
+++ b/
hw/nvram.h
@@
-30,6
+30,5
@@
M48t59State *m48t59_init_isa(ISABus *bus, uint32_t io_base, uint16_t size,
int type);
M48t59State *m48t59_init(qemu_irq IRQ, hwaddr mem_base,
uint32_t io_base, uint16_t size, int type);
-void m48t59_set_addr (void *opaque, uint32_t addr);
#endif /* !NVRAM_H */