diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-18 11:09:00 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-21 09:50:11 +0800 |
commit | fac7b6ab0e1093292c986eed053c5eb647956e4c (patch) | |
tree | 0568a7aa51ab692c760f53d3678b9b4f4f7b11a1 /cpu | |
parent | 500e69df9073a8bc2773274c1139bb036b1a4195 (diff) | |
download | u-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.zip u-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.tar.gz u-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.tar.bz2 |
ENGR00209899-2 MX6Q: cleanup: cleanup fastboot, udc warnning.
cleanup android fastboot and udc build warnnings.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm_cortexa8/mx6/generic.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c index bcbaf64..43893ee 100644 --- a/cpu/arm_cortexa8/mx6/generic.c +++ b/cpu/arm_cortexa8/mx6/generic.c @@ -37,6 +37,10 @@ #include <asm/arch/regs-ocotp.h> #endif +#ifdef CONFIG_IMX_UDC +#include <usb/imx_udc.h> +#endif + #include <usb/regs-usbphy-mx6.h> enum pll_clocks { @@ -1067,7 +1071,7 @@ void enable_usb_phy1_clk(unsigned char enable) } } -void reset_usb_phy1() +void reset_usb_phy1(void) { /* Reset USBPHY module */ u32 temp; @@ -1105,7 +1109,7 @@ void set_usboh3_clk(void) #define ANDROID_RECOVERY_BOOT (1 << 7) /* check if the recovery bit is set by kernel, it can be set by kernel * issue a command '# reboot recovery' */ -int check_and_clean_recovery_flag() +int check_and_clean_recovery_flag(void) { int flag_set = 0; u32 reg; @@ -1127,7 +1131,7 @@ int check_and_clean_recovery_flag() #define ANDROID_FASTBOOT_BOOT (1 << 8) /* check if the recovery bit is set by kernel, it can be set by kernel * issue a command '# reboot fastboot' */ -int fastboot_check_and_clean_flag() +int fastboot_check_and_clean_flag(void) { int flag_set = 0; u32 reg; |