diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-11-13 09:58:25 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-11-16 08:16:45 (GMT) |
commit | 961a762838d55dc9bae8fa7ea57bc3c51a9c7b57 (patch) | |
tree | 9919686e21012befaf58be17e27bbd8061ad3a50 /board/freescale/mx35pdk/lowlevel_init.S | |
parent | 71a5c55bfa776b29d11b85e80945b89af06e6546 (diff) | |
download | u-boot-961a762838d55dc9bae8fa7ea57bc3c51a9c7b57.tar.xz |
mx35pdk: Add support for OTG
Add support for the OTG port on the mx35pdk Personality board.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tested-by: Stefano Babic <sbabic@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/freescale/mx35pdk/lowlevel_init.S')
-rw-r--r-- | board/freescale/mx35pdk/lowlevel_init.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/mx35pdk/lowlevel_init.S b/board/freescale/mx35pdk/lowlevel_init.S index 75bb958..da8b6f3 100644 --- a/board/freescale/mx35pdk/lowlevel_init.S +++ b/board/freescale/mx35pdk/lowlevel_init.S @@ -94,6 +94,10 @@ orr r1, r1, #0x00000C00 orr r1, r1, #0x00000003 str r1, [r0, #CLKCTL_CGR1] + + ldr r1, [r0, #CLKCTL_CGR2] + orr r1, r1, #0x00C00000 + str r1, [r0, #CLKCTL_CGR2] .endm .macro setup_sdram |