diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/nyan/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/nyan_big/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/nyan_blaze/mainboard.c | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c index 682fdc4db4..b534ea908d 100644 --- a/src/mainboard/google/nyan/mainboard.c +++ b/src/mainboard/google/nyan/mainboard.c @@ -29,7 +29,7 @@ #include <soc/nvidia/tegra124/mc.h> #include <soc/nvidia/tegra124/pmc.h> #include <soc/nvidia/tegra124/spi.h> -#include <soc/nvidia/tegra124/usb.h> +#include <soc/nvidia/tegra/usb.h> #include <vendorcode/google/chromeos/chromeos.h> static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; @@ -232,9 +232,9 @@ static void mainboard_init(device_t dev) CLK_X_AFC2 | CLK_X_AFC3 | CLK_X_AFC4 | CLK_X_AFC5); - usb_setup_utmip1(); + usb_setup_utmip((void*)TEGRA_USBD_BASE); /* USB2 is the camera, we don't need it in firmware */ - usb_setup_utmip3(); + usb_setup_utmip((void*)TEGRA_USB3_BASE); setup_pinmux(); diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c index ff147e2c15..86d9fe3b37 100644 --- a/src/mainboard/google/nyan_big/mainboard.c +++ b/src/mainboard/google/nyan_big/mainboard.c @@ -29,7 +29,7 @@ #include <soc/nvidia/tegra124/mc.h> #include <soc/nvidia/tegra124/pmc.h> #include <soc/nvidia/tegra124/spi.h> -#include <soc/nvidia/tegra124/usb.h> +#include <soc/nvidia/tegra/usb.h> #include <vendorcode/google/chromeos/chromeos.h> static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; @@ -230,9 +230,9 @@ static void mainboard_init(device_t dev) CLK_X_AFC2 | CLK_X_AFC3 | CLK_X_AFC4 | CLK_X_AFC5); - usb_setup_utmip1(); + usb_setup_utmip((void*)TEGRA_USBD_BASE); /* USB2 is the camera, we don't need it in firmware */ - usb_setup_utmip3(); + usb_setup_utmip((void*)TEGRA_USB3_BASE); setup_pinmux(); diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c index 8d4f553cef..ccbaf63f94 100644 --- a/src/mainboard/google/nyan_blaze/mainboard.c +++ b/src/mainboard/google/nyan_blaze/mainboard.c @@ -29,7 +29,7 @@ #include <soc/nvidia/tegra124/mc.h> #include <soc/nvidia/tegra124/pmc.h> #include <soc/nvidia/tegra124/spi.h> -#include <soc/nvidia/tegra124/usb.h> +#include <soc/nvidia/tegra/usb.h> #include <vendorcode/google/chromeos/chromeos.h> static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; @@ -230,9 +230,9 @@ static void mainboard_init(device_t dev) CLK_X_AFC2 | CLK_X_AFC3 | CLK_X_AFC4 | CLK_X_AFC5); - usb_setup_utmip1(); - usb_setup_utmip2(); - usb_setup_utmip3(); + usb_setup_utmip((void*)TEGRA_USBD_BASE); + usb_setup_utmip((void*)TEGRA_USB2_BASE); + usb_setup_utmip((void*)TEGRA_USB3_BASE); setup_pinmux(); |