diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-08-13 16:19:59 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-26 00:27:20 +0100 |
commit | 703159aca50dc60cdcd12a3fd80262d0e5372860 (patch) | |
tree | 6d21115ed00b36571f4bc4e14cf40f68dcf0bc74 /src/soc/nvidia/tegra132/include | |
parent | edb58fd2aa2d0f12c459bc94dc5b3d497e648eaa (diff) | |
download | coreboot-703159aca50dc60cdcd12a3fd80262d0e5372860.tar.xz |
tegra132: add usb initialization support to funit
Continuing down the path of easing mainboard maintenance
provide a way to bring up the USB 2.0 ports through funit.
BUG=chrome-os-partner:31251
BRANCH=None
TEST=With ryu patch was able to get same sporadic USB communication.
Change-Id: Ic75821acf1d48a9f1659849fa007251c61658640
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5183c5081a95219f84c4d6dfca70926b383abc1a
Original-Change-Id: Iee5ca30b3c8b876a9cae7b91db096fef933a8412
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/212332
Original-Reviewed-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8938
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/include')
-rw-r--r-- | src/soc/nvidia/tegra132/include/soc/funitcfg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/include/soc/funitcfg.h b/src/soc/nvidia/tegra132/include/soc/funitcfg.h index 0bb20a537d..7e9bdc0ee4 100644 --- a/src/soc/nvidia/tegra132/include/soc/funitcfg.h +++ b/src/soc/nvidia/tegra132/include/soc/funitcfg.h @@ -35,6 +35,9 @@ enum { FUNIT_INDEX(I2C5), FUNIT_INDEX(SDMMC3), FUNIT_INDEX(SDMMC4), + FUNIT_INDEX(USBD), + FUNIT_INDEX(USB2), + FUNIT_INDEX(USB3), FUNIT_INDEX_MAX, }; @@ -55,6 +58,13 @@ struct funit_cfg { .pad_cfg_size = _cfg_size, \ } +#define FUNIT_CFG_USB(_funit) \ + { \ + .funit_index = FUNIT_INDEX(_funit), \ + .pad_cfg = NULL, \ + .pad_cfg_size = 0, \ + } + /* * Configure the funits associated with entry according to the configuration. */ |