summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-03-25 14:49:48 +0100
committerTom Rini <trini@ti.com>2014-04-17 14:39:54 -0400
commite7300f463d0c5f414d4cb717cad925554564a92e (patch)
tree7311fc2837cf1e3d577af94e8766dd38263a7284 /board
parent1b82491ee6ee1e986e5521b33692a00e1f38fe75 (diff)
downloadu-boot-imx-e7300f463d0c5f414d4cb717cad925554564a92e.zip
u-boot-imx-e7300f463d0c5f414d4cb717cad925554564a92e.tar.gz
u-boot-imx-e7300f463d0c5f414d4cb717cad925554564a92e.tar.bz2
ARM: OMAP: remove sr32() from OMAP board code
Replace the custom sr32() bit manipulation function in arch/arm/cpu/armv7/omap3/board.c and board/ti/panda/panda.c by standard I/O accessors. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'board')
-rw-r--r--board/ti/panda/panda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 5ab6db9..0dfb4ad 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -308,7 +308,7 @@ int ehci_hcd_init(int index, enum usb_init_type init,
/* Now we can enable our port clocks */
utmi_clk = readl((void *)CM_L3INIT_HSUSBHOST_CLKCTRL);
utmi_clk |= HSUSBHOST_CLKCTRL_CLKSEL_UTMI_P1_MASK;
- sr32((void *)CM_L3INIT_HSUSBHOST_CLKCTRL, 0, 32, utmi_clk);
+ setbits_le32((void *)CM_L3INIT_HSUSBHOST_CLKCTRL, utmi_clk);
ret = omap_ehci_hcd_init(index, &usbhs_bdata, hccr, hcor);
if (ret < 0)