summaryrefslogtreecommitdiff
path: root/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'internal.c')
-rw-r--r--internal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal.c b/internal.c
index 888c502..3e3808e 100644
--- a/internal.c
+++ b/internal.c
@@ -218,6 +218,12 @@ void internal_delay(int usecs)
}
}
+/* Fallback shutdown() for programmers which don't need special handling */
+int fallback_shutdown(void)
+{
+ return 0;
+}
+
/* Fallback map() for programmers which don't need special handling */
void *fallback_map(const char *descr, unsigned long phys_addr, size_t len)
{
@@ -229,6 +235,11 @@ void fallback_unmap(void *virt_addr, size_t len)
{
}
+/* No-op fallback for drivers not supporting addr/data pair accesses */
+void fallback_chip_writeb(uint8_t val, chipaddr addr)
+{
+}
+
/* Little-endian fallback for drivers not supporting 16 bit accesses */
void fallback_chip_writew(uint16_t val, chipaddr addr)
{