aboutsummaryrefslogtreecommitdiff
path: root/hw/onenand.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-29 14:19:16 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-29 14:19:16 +0000
commitc580d92b0e7da1277c0ea9934a9bf8335dbbf46e (patch)
treee3133dddcd7d069b8cd46bf90d4c0febb254428f /hw/onenand.c
parenteae473c187de4088c975b8dd08f9284fb7993a1a (diff)
Fill in WLAN and BT platform data in CAL area as expected by Maemo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4968 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/onenand.c')
-rw-r--r--hw/onenand.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/onenand.c b/hw/onenand.c
index 5e51089bac..762da278a3 100644
--- a/hw/onenand.c
+++ b/hw/onenand.c
@@ -655,3 +655,10 @@ void *onenand_init(uint32_t id, int regshift, qemu_irq irq)
return s;
}
+
+void *onenand_raw_otp(void *opaque)
+{
+ struct onenand_s *s = (struct onenand_s *) opaque;
+
+ return s->otp;
+}