mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-12 07:43:22 +09:00
![Steve Rae](/assets/img/avatar_default.png)
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>
27 lines
463 B
C
27 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;
|
|
}
|