mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
aae52c000f
A future patch will soon move some of the XUSB padctl code into a common file in arch/arm/mach-tegra. Rename the existing dummy XUSB padctl file to avoid conflicting with that, or being confusing. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
39 lines
674 B
C
39 lines
674 B
C
/*
|
|
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <errno.h>
|
|
|
|
#include <asm/arch-tegra/xusb-padctl.h>
|
|
|
|
struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
void __weak tegra_xusb_padctl_init(const void *fdt)
|
|
{
|
|
}
|