t132: 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: Ib235cf039a17204ef7e06d545a3c86b75aff5b4c
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/221575
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Furquan Shaikh 2014-10-04 17:27:55 -07:00 committed by chrome-internal-fetch
commit 49487e5af4

View file

@ -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");
}