[PATCH] staging: octeon: Add Lanai board USB clock type

From: Bernhard Walle
Date: Mon Oct 11 2010 - 06:09:30 EST


Add the LANAI2 board to __cvmx_helper_board_usb_get_clock_type(). It
also uses the USB_CLOCK_TYPE_CRYSTAL_12 clock.

Signed-off-by: Bernhard Walle <walle@xxxxxxxxxxxxx>
---
drivers/staging/octeon/cvmx-helper-board.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/octeon/cvmx-helper-board.c b/drivers/staging/octeon/cvmx-helper-board.c
index 5793318..f8ae6b4 100644
--- a/drivers/staging/octeon/cvmx-helper-board.c
+++ b/drivers/staging/octeon/cvmx-helper-board.c
@@ -752,6 +752,7 @@ cvmx_helper_board_usb_clock_types_t __cvmx_helper_board_usb_get_clock_type(void)
{
switch (cvmx_sysinfo_get()->board_type) {
case CVMX_BOARD_TYPE_BBGW_REF:
+ case CVMX_BOARD_TYPE_LANAI2_G:
return USB_CLOCK_TYPE_CRYSTAL_12;
}
return USB_CLOCK_TYPE_REF_48;
--
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/