mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
boards/msba2,avsextreme: Removed defunct code
The MSB-A2 and the Avsextrem board once had support for using the USB interface of the LPC2387. The code setting up the USB clock has been unused for ages and is now defunct, as the required value for `USBCLKDivValue` is no longer present in RIOT's code base. This commits removes the defunct and unused code.
This commit is contained in:
parent
7eb579bf4f
commit
47b0b87d48
@ -68,10 +68,6 @@ void init_clks1(void)
|
||||
|
||||
/* Set clock divider to 4 (value+1) */
|
||||
CCLKCFG = CL_CPU_DIV - 1; // Fcpu = 72 MHz
|
||||
|
||||
#if USE_USB
|
||||
USBCLKCFG = USBCLKDivValue; /* usbclk = 288 MHz/6 = 48 MHz */
|
||||
#endif
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -72,8 +72,4 @@ void init_clks1(void)
|
||||
|
||||
/* Set clock divider to 4 (value+1) */
|
||||
CCLKCFG = CL_CPU_DIV - 1; /* Fcpu = 72 MHz */
|
||||
|
||||
#if USE_USB
|
||||
USBCLKCFG = USBCLKDivValue; /* usbclk = 288 MHz/6 = 48 MHz */
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user