aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c')
-rw-r--r--roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c b/roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c
new file mode 100644
index 000000000..f2d90302f
--- /dev/null
+++ b/roms/u-boot/arch/arm/mach-tegra/xusb-padctl-dummy.c
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
+ */
+
+#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(void)
+{
+}
+
+void __weak tegra_xusb_padctl_exit(void)
+{
+}