Thierry Reding | f202e02 | 2014-12-09 22:25:09 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0 |
| 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | #include <errno.h> |
| 9 | |
| 10 | #include <asm/arch-tegra/xusb-padctl.h> |
| 11 | |
| 12 | struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type) |
| 13 | { |
| 14 | return NULL; |
| 15 | } |
| 16 | |
| 17 | int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy) |
| 18 | { |
| 19 | return -ENOSYS; |
| 20 | } |
| 21 | |
| 22 | int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy) |
| 23 | { |
| 24 | return -ENOSYS; |
| 25 | } |
| 26 | |
| 27 | int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy) |
| 28 | { |
| 29 | return -ENOSYS; |
| 30 | } |
| 31 | |
| 32 | int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy) |
| 33 | { |
| 34 | return -ENOSYS; |
| 35 | } |
| 36 | |
| 37 | void __weak tegra_xusb_padctl_init(const void *fdt) |
| 38 | { |
| 39 | } |