summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-10-04 17:27:55 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-04-07 22:20:22 +0200
commit8e44261b0801e88f12f052490b47013636fbd866 (patch)
treefdc819c017cc300a86d949e762a8a266ba6eaf3e
parentfc934b2da280d64bf42d2947346558f7475d5481 (diff)
tegra132: Provide weak implementation of usb_setup_utmip in funitcfg.c
Provide a weak implemenation of usb_setup_utmip function for those stages that do not include usb.c. BUG=chrome-os-partner:32684 BRANCH=None TEST=Compiles successfully Change-Id: Ia659b7f64e6c3e23053837337ccd267d4c179fba Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 49487e5af4471bff708d8939492af15fb5cb9e64 Original-Change-Id: Ib235cf039a17204ef7e06d545a3c86b75aff5b4c Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/221575 Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9325 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/soc/nvidia/tegra132/funitcfg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/funitcfg.c b/src/soc/nvidia/tegra132/funitcfg.c
index 662849fd51..2d34756a7f 100644
--- a/src/soc/nvidia/tegra132/funitcfg.c
+++ b/src/soc/nvidia/tegra132/funitcfg.c
@@ -176,3 +176,9 @@ void soc_configure_funits(const struct funit_cfg * const entries, size_t num)
soc_configure_pads(entry->pad_cfg,entry->pad_cfg_size);
}
}
+
+void __attribute__((weak)) usb_setup_utmip(void *usb_base)
+{
+ /* default empty implementation required if usb.c is not included */
+ printk(BIOS_ERR, "USB setup is not supported in current stage\n");
+}