[U-Boot] [PATCH 4/6] ARM: AM43xx: Add functions to enable and disable USB clocks

Tom Rini trini at konsulko.com
Tue Aug 11 02:33:59 CEST 2015


On Mon, Aug 10, 2015 at 04:58:36PM +0530, Kishon Vijay Abraham I wrote:

> diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h
> index 91b614a..275cf7b 100644
> --- a/arch/arm/include/asm/arch-am33xx/sys_proto.h
> +++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h
> @@ -42,3 +42,8 @@ void am33xx_spl_board_init(void);
>  int am335x_get_efuse_mpu_max_freq(struct ctrl_dev *cdev);
>  int am335x_get_tps65910_mpu_vdd(int sil_rev, int frequency);
>  #endif
> +
> +#ifdef CONFIG_USB_DWC3
> +void enable_usb_clocks(int index);
> +void disable_usb_clocks(int index);
> +#endif

No #ifdef/#endif in header files.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150810/84f940b1/attachment-0001.sig>


More information about the U-Boot mailing list