diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-03-24 18:00:36 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-02 09:32:53 +0200 |
commit | 2079f13611ba75d9eb88fcaa6d63a91087f99b73 (patch) | |
tree | 66fcbba2be5f9e2e89614e0f260c33e07fdb3914 /include | |
parent | 9c01d10dab293fc93257a823332ecc1270ceeba3 (diff) | |
download | barebox-2079f13611ba75d9eb88fcaa6d63a91087f99b73.tar.gz barebox-2079f13611ba75d9eb88fcaa6d63a91087f99b73.tar.xz |
Add ULPI detection function.
Added ULPI detection function.
Same function from isp1504 driver removed.
Used implementation from Linux kernel.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb/ulpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h index 9eed6a498e..d841a985ad 100644 --- a/include/usb/ulpi.h +++ b/include/usb/ulpi.h @@ -4,6 +4,7 @@ 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); +int ulpi_init(void __iomem *view); /* ULPI register addresses */ #define ULPI_VID_LOW 0x00 /* Vendor ID low */ |