uboot/arch/arm/mach-tegra/xusb-padctl-dummy.c
<<
>>
Prefs
   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
  12struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
  13{
  14        return NULL;
  15}
  16
  17int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy)
  18{
  19        return -ENOSYS;
  20}
  21
  22int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy)
  23{
  24        return -ENOSYS;
  25}
  26
  27int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy)
  28{
  29        return -ENOSYS;
  30}
  31
  32int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy)
  33{
  34        return -ENOSYS;
  35}
  36
  37void __weak tegra_xusb_padctl_init(const void *fdt)
  38{
  39}
  40