summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-07-26 13:54:28 -0300
committerMarek Vasut <marex@denx.de>2013-08-26 21:56:34 +0200
commit76b6b196148dbd7201b297e73e4311a2ea3f16a9 (patch)
treed2a77df847ba0725a1b870e655cca10a6bc81392 /drivers/usb
parentc3904128ad8c85b91bf1df2ed4b38fa8a17f32a6 (diff)
downloadu-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.zip
u-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.tar.gz
u-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.tar.bz2
usb: ehci-mx5: Use 'bool' instead of 'unsigned char'
The 'enable' argument can be better expressed as boolean. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-mx5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c
index a397d24..dd11f53 100644
--- a/drivers/usb/host/ehci-mx5.c
+++ b/drivers/usb/host/ehci-mx5.c
@@ -223,10 +223,10 @@ int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
struct usb_ehci *ehci;
set_usboh3_clk();
- enable_usboh3_clk(1);
+ enable_usboh3_clk(true);
set_usb_phy_clk();
- enable_usb_phy1_clk(1);
- enable_usb_phy2_clk(1);
+ enable_usb_phy1_clk(true);
+ enable_usb_phy2_clk(true);
mdelay(1);
/* Do board specific initialization */