aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-02-15 18:07:36 +0100
committerLubomir Rintel <lkundrak@v3.sk>2020-03-23 18:58:55 +0100
commitedb69767dc8b63edf8fc0eb224ca1d834cd25d8f (patch)
tree38585c386fe035f6885fb44ef1a8635dde614822
parent15b7769b20ea1bc2a6c1e7e97a1a45fac4fa61ab (diff)
downloadopenfirmware-edb69767dc8b63edf8fc0eb224ca1d834cd25d8f.tar.gz
olpc/usb: also initialize HSIC
Not on OLPC actually, since there HSIC is not used, but generally on MMP3. (This file prehaps really belongs to cpu/mmp2, but hey...)
-rw-r--r--cpu/arm/olpc/usb.fth5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/arm/olpc/usb.fth b/cpu/arm/olpc/usb.fth
index 0b5cefcc..f1c71d80 100644
--- a/cpu/arm/olpc/usb.fth
+++ b/cpu/arm/olpc/usb.fth
@@ -40,6 +40,11 @@ defer reset-usb-hub ' noop to reset-usb-hub
h# 9 h# 5c pmua! \ Enable clock to USB block
reset-usb-hub
" /usb2-phy" " init" execute-device-method drop
+
+[ifndef] olpc
+ h# 1b h# f8 pmua! \ Enable clock to HSIC1 block
+ " /hsic-phy@f0001800" " init" execute-device-method drop
+[then]
;
stand-init: Init USB Phy