diff options
author | Tom Rini <trini@konsulko.com> | 2015-11-12 20:59:35 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-13 00:32:51 (GMT) |
commit | bc80109b117abe4ed2cd4d12c8dc188561bc298e (patch) | |
tree | c51f0fcaa1bcc0c17a1119f7d47a0b943b063c7f /arch/arm/mach-tegra/xusb-padctl-dummy.c | |
parent | 42d1b818a866840a5009309b4901b5ce28572467 (diff) | |
parent | e1cf5278024eb5c72abd69d6bda266ffc5832941 (diff) | |
download | u-boot-bc80109b117abe4ed2cd4d12c8dc188561bc298e.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'arch/arm/mach-tegra/xusb-padctl-dummy.c')
-rw-r--r-- | arch/arm/mach-tegra/xusb-padctl-dummy.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/xusb-padctl-dummy.c b/arch/arm/mach-tegra/xusb-padctl-dummy.c new file mode 100644 index 0000000..65f8d2e --- /dev/null +++ b/arch/arm/mach-tegra/xusb-padctl-dummy.c @@ -0,0 +1,39 @@ +/* + * 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) +{ +} |