Commit f6ba63fc authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: octeon-usb: use correct board type for EdgeRouter Lite

Use CVMX_BOARD_TYPE_UBNT_E100 for EdgeRouter Lite.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 272705e9
...@@ -280,14 +280,9 @@ static int octeon_usb_get_clock_type(void) ...@@ -280,14 +280,9 @@ static int octeon_usb_get_clock_type(void)
case CVMX_BOARD_TYPE_LANAI2_A: case CVMX_BOARD_TYPE_LANAI2_A:
case CVMX_BOARD_TYPE_LANAI2_U: case CVMX_BOARD_TYPE_LANAI2_U:
case CVMX_BOARD_TYPE_LANAI2_G: case CVMX_BOARD_TYPE_LANAI2_G:
case CVMX_BOARD_TYPE_UBNT_E100:
return USB_CLOCK_TYPE_CRYSTAL_12; return USB_CLOCK_TYPE_CRYSTAL_12;
} }
/* FIXME: This should use CVMX_BOARD_TYPE_UBNT_E100 */
if (OCTEON_IS_MODEL(OCTEON_CN50XX) &&
cvmx_sysinfo_get()->board_type == 20002)
return USB_CLOCK_TYPE_CRYSTAL_12;
return USB_CLOCK_TYPE_REF_48; return USB_CLOCK_TYPE_REF_48;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment