Skip to contentSkip to conversation

[4968] Fill in WLAN and BT platform data in CAL area as expected by Maemo.

Qemu-devel Andrzej Zaborowski 1 participant 1 message Jul 29, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4968

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4968
Author:   balrog
Date:     2008-07-29 14:19:16 +0000 (Tue, 29 Jul 2008)

Log Message:
-----------
Fill in WLAN and BT platform data in CAL area as expected by Maemo.

Modified Paths:
--------------
trunk/hw/flash.h
trunk/hw/nseries.c
trunk/hw/onenand.c

Modified: trunk/hw/flash.h
===================================================================

hw/flash.h +1 -0
@@ -39,6 +39,7 @@
 void onenand_base_update(void *opaque, target_phys_addr_t new);
 void onenand_base_unmap(void *opaque);
 void *onenand_init(uint32_t id, int regshift, qemu_irq irq);
+void *onenand_raw_otp(void *opaque);
 
 /* ecc.c */
 struct ecc_state_s {

Modified: trunk/hw/nseries.c
===================================================================

hw/nseries.c +44 -6

97 lines not on this page · raw message

Modified: trunk/hw/onenand.c
===================================================================

hw/onenand.c +7 -0
@@ -655,3 +655,10 @@
 
     return s;
 }
+
+void *onenand_raw_otp(void *opaque)
+{
+    struct onenand_s *s = (struct onenand_s *) opaque;
+
+    return s->otp;
+}