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:
parent
36960019dc
commit
49487e5af4
1 changed files with 6 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue