mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
4d013d8fa8
enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR) Signed-off-by: Steve Rae <srae@broadcom.com> Reviewed-by: Felipe Balbi <balbi@ti.com>
26 lines
463 B
C
26 lines
463 B
C
/*
|
|
* Copyright 2013 Broadcom Corporation.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
|
|
/*
|
|
* These weak functions are available to kona architectures that don't
|
|
* require clock enables from the driver code.
|
|
*/
|
|
int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int __weak clk_bsc_enable(void *base, u32 rate, u32 *actual_ratep)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int __weak clk_usb_otg_enable(void *base)
|
|
{
|
|
return 0;
|
|
}
|