1
0
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:
Marian Buschsieweke 2019-07-25 10:38:51 +02:00
parent 7eb579bf4f
commit 47b0b87d48
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
2 changed files with 0 additions and 8 deletions

View File

@ -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
}
/*---------------------------------------------------------------------------*/

View File

@ -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
}