summaryrefslogtreecommitdiffstats
path: root/include/usb/ulpi.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-12-17 08:38:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-17 08:42:08 +0100
commitaa537feed41975b58c0f4e605e87a11deaf6950d (patch)
treef2910cb4ab68007fd5a6adde2a2be498460be0ee /include/usb/ulpi.h
parentf410a5ed50c7dfd06574380d58b65594df7fbb77 (diff)
downloadbarebox-aa537feed41975b58c0f4e605e87a11deaf6950d.tar.gz
barebox-aa537feed41975b58c0f4e605e87a11deaf6950d.tar.xz
USB ULPI: Add missing ulpi_write function
We currently only have functions to read/modify registers. Add a function to write registers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/ulpi.h')
-rw-r--r--include/usb/ulpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index 542993cc72..7c868a547b 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -1,6 +1,7 @@
#ifndef __MACH_ULPI_H
#define __MACH_ULPI_H
+int ulpi_write(u8 bits, int reg, void __iomem *view);
int ulpi_set(u8 bits, int reg, void __iomem *view);
int ulpi_clear(u8 bits, int reg, void __iomem *view);
int ulpi_read(int reg, void __iomem *view);