aboutsummaryrefslogtreecommitdiff
path: root/hw/onenand.c
diff options
context:
space:
mode:
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;
+}