diff --git a/boards/6lowpan-clicker/clicker.c b/boards/6lowpan-clicker/clicker.c index 41f96d6992..c2840436f7 100644 --- a/boards/6lowpan-clicker/clicker.c +++ b/boards/6lowpan-clicker/clicker.c @@ -21,9 +21,6 @@ void board_init(void) LED1_OFF; LED2_OFF; - /* initialize the CPU */ - cpu_init(); - /* Stop the linker from throwing away the PIC32 config register settings */ dummy(); } diff --git a/boards/acd52832/board.c b/boards/acd52832/board.c index c4cac82320..fc2fa52923 100644 --- a/boards/acd52832/board.c +++ b/boards/acd52832/board.c @@ -26,7 +26,4 @@ void board_init(void) /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); - - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/adafruit-clue/board.c b/boards/adafruit-clue/board.c index f531f517d3..5aee857609 100644 --- a/boards/adafruit-clue/board.c +++ b/boards/adafruit-clue/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); /* Red LED */ diff --git a/boards/adafruit-itsybitsy-m4/board.c b/boards/adafruit-itsybitsy-m4/board.c index e92f17c933..4cf4acf16c 100644 --- a/boards/adafruit-itsybitsy-m4/board.c +++ b/boards/adafruit-itsybitsy-m4/board.c @@ -60,7 +60,4 @@ void board_init(void) /* initialize the on-board LED */ gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; - - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/adafruit-itsybitsy-nrf52/board.c b/boards/adafruit-itsybitsy-nrf52/board.c index c006af2a11..8820ac4a4c 100644 --- a/boards/adafruit-itsybitsy-nrf52/board.c +++ b/boards/adafruit-itsybitsy-nrf52/board.c @@ -27,7 +27,4 @@ void board_init(void) /* initialize the board's single LED */ gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); - - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/arduino-leonardo/board.c b/boards/arduino-leonardo/board.c index cd50ada894..6310110e97 100644 --- a/boards/arduino-leonardo/board.c +++ b/boards/arduino-leonardo/board.c @@ -25,7 +25,5 @@ void led_init(void); void board_init(void) { - avr8_stdio_init(); - cpu_init(); led_init(); } diff --git a/boards/arduino-nano-33-ble/board.c b/boards/arduino-nano-33-ble/board.c index 20cfa6e11d..3a1c3f218c 100644 --- a/boards/arduino-nano-33-ble/board.c +++ b/boards/arduino-nano-33-ble/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); /* Orange LED */ gpio_init(LED1_PIN, GPIO_OUT); /* Red LED */ diff --git a/boards/arduino-nano-33-iot/board.c b/boards/arduino-nano-33-iot/board.c index a49e224b0b..f9766e9e97 100644 --- a/boards/arduino-nano-33-iot/board.c +++ b/boards/arduino-nano-33-iot/board.c @@ -25,7 +25,4 @@ void board_init(void) { /* initialize the on-board "Yellow" LED */ gpio_init(LED0_PIN, GPIO_OUT); - - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/b-l072z-lrwan1/board.c b/boards/b-l072z-lrwan1/board.c index d69fe87473..d2b663448f 100644 --- a/boards/b-l072z-lrwan1/board.c +++ b/boards/b-l072z-lrwan1/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #if defined(MODULE_SX1276) /* Enable TCXO */ gpio_init(RADIO_TCXO_VCC_PIN, GPIO_OUT); diff --git a/boards/b-l475e-iot01a/board.c b/boards/b-l475e-iot01a/board.c index 00ac1b3b1b..e1d8cbd4c7 100644 --- a/boards/b-l475e-iot01a/board.c +++ b/boards/b-l475e-iot01a/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifdef AUTO_INIT_LED0 /* The LED pin is also used for SPI, so we enable it only if explicitly wanted by the user */ diff --git a/boards/bastwan/board.c b/boards/bastwan/board.c index 8843354ad6..4d9612a259 100644 --- a/boards/bastwan/board.c +++ b/boards/bastwan/board.c @@ -31,9 +31,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LED */ gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/bastwan/include/periph_conf.h b/boards/bastwan/include/periph_conf.h index 9cfd48eadb..90ae57e910 100644 --- a/boards/bastwan/include/periph_conf.h +++ b/boards/bastwan/include/periph_conf.h @@ -91,7 +91,6 @@ static const uart_conf_t uart_config[] = { */ /* SERCOM5 does not support DMA at the moment. See Datasheet samr34, Figure 4-2 */ static const spi_conf_t spi_config[] = { - { .dev = &(SERCOM5->SPI), .miso_pin = GPIO_PIN(PA, 23), diff --git a/boards/bluepill-stm32f030c8/board.c b/boards/bluepill-stm32f030c8/board.c index 9bbd64336f..7577d83776 100644 --- a/boards/bluepill-stm32f030c8/board.c +++ b/boards/bluepill-stm32f030c8/board.c @@ -24,7 +24,6 @@ void board_init(void) { - cpu_init(); gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; } diff --git a/boards/calliope-mini/board.c b/boards/calliope-mini/board.c index c8454ed710..9c7e7a8d5f 100644 --- a/boards/calliope-mini/board.c +++ b/boards/calliope-mini/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the mini's buttons */ gpio_init(BTN0_PIN, BTN0_MODE); gpio_init(BTN1_PIN, BTN1_MODE); diff --git a/boards/cc1312-launchpad/board.c b/boards/cc1312-launchpad/board.c index 8364ee9f55..bccf57fdf4 100644 --- a/boards/cc1312-launchpad/board.c +++ b/boards/cc1312-launchpad/board.c @@ -27,8 +27,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/cc1350-launchpad/board.c b/boards/cc1350-launchpad/board.c index 4ee307d3db..ee92ee62fc 100644 --- a/boards/cc1350-launchpad/board.c +++ b/boards/cc1350-launchpad/board.c @@ -25,8 +25,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/cc1352-launchpad/board.c b/boards/cc1352-launchpad/board.c index d2cc4be976..4b5d26d971 100644 --- a/boards/cc1352-launchpad/board.c +++ b/boards/cc1352-launchpad/board.c @@ -27,8 +27,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/cc1352p-launchpad/board.c b/boards/cc1352p-launchpad/board.c index 6e11db0373..834c091cf0 100644 --- a/boards/cc1352p-launchpad/board.c +++ b/boards/cc1352p-launchpad/board.c @@ -25,8 +25,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/cc2538dk/board.c b/boards/cc2538dk/board.c index 093d7e91a1..48197f35f6 100644 --- a/boards/cc2538dk/board.c +++ b/boards/cc2538dk/board.c @@ -30,9 +30,6 @@ */ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/cc2650-launchpad/board.c b/boards/cc2650-launchpad/board.c index e22951af0b..2780df16f4 100644 --- a/boards/cc2650-launchpad/board.c +++ b/boards/cc2650-launchpad/board.c @@ -27,8 +27,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/cc2650stk/board.c b/boards/cc2650stk/board.c index 08fba34453..93a3be98f2 100644 --- a/boards/cc2650stk/board.c +++ b/boards/cc2650stk/board.c @@ -25,8 +25,6 @@ */ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); } diff --git a/boards/common/arduino-due/board.c b/boards/common/arduino-due/board.c index 86b5d19c65..703375165c 100644 --- a/boards/common/arduino-due/board.c +++ b/boards/common/arduino-due/board.c @@ -24,8 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialize the on-board Amber "L" LED @ pin PB27 */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/common/arduino-mkr/board.c b/boards/common/arduino-mkr/board.c index 35ec380a96..95e4db5d15 100644 --- a/boards/common/arduino-mkr/board.c +++ b/boards/common/arduino-mkr/board.c @@ -25,8 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialize the on-board Amber "L" LED */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/common/arduino-zero/board.c b/boards/common/arduino-zero/board.c index 0381769802..aa8375c120 100644 --- a/boards/common/arduino-zero/board.c +++ b/boards/common/arduino-zero/board.c @@ -27,8 +27,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialize the on-board Amber "L" LED on pin PA17 */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/common/atmega/board.c b/boards/common/atmega/board.c index d969001c88..d951a24344 100644 --- a/boards/common/atmega/board.c +++ b/boards/common/atmega/board.c @@ -26,7 +26,6 @@ void led_init(void); void __attribute__((weak)) board_init(void) { - cpu_init(); #ifdef LED0_ON led_init(); #endif diff --git a/boards/common/atxmega/board.c b/boards/common/atxmega/board.c index e2db598884..7d4bdb24e4 100644 --- a/boards/common/atxmega/board.c +++ b/boards/common/atxmega/board.c @@ -31,7 +31,6 @@ void __attribute__((weak)) led_init(void) void __attribute__((weak)) board_init(void) { - cpu_init(); #ifdef LED_PORT led_init(); #endif diff --git a/boards/common/blxxxpill/board.c b/boards/common/blxxxpill/board.c index 4ee5a315bf..75a0b2ab58 100644 --- a/boards/common/blxxxpill/board.c +++ b/boards/common/blxxxpill/board.c @@ -27,6 +27,5 @@ void board_init(void) { - cpu_init(); gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/common/e104-bt50xxa-tb/board.c b/boards/common/e104-bt50xxa-tb/board.c index 0ecfbcbb2b..19e0fb7bdf 100644 --- a/boards/common/e104-bt50xxa-tb/board.c +++ b/boards/common/e104-bt50xxa-tb/board.c @@ -36,6 +36,4 @@ void board_init(void) pm_reboot, NULL); #endif - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/iotlab/board_init.c b/boards/common/iotlab/board_init.c index 0c4bba1fed..02a48dd9de 100644 --- a/boards/common/iotlab/board_init.c +++ b/boards/common/iotlab/board_init.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs and turn them off */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/common/kw41z/board.c b/boards/common/kw41z/board.c index 281caac311..493ccd5997 100644 --- a/boards/common/kw41z/board.c +++ b/boards/common/kw41z/board.c @@ -44,9 +44,6 @@ static void led_init(void) void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize LEDs, skip for riotboot */ if (!IS_ACTIVE(RIOTBOOT)) { led_init(); diff --git a/boards/common/msb-430/board_init.c b/boards/common/msb-430/board_init.c index b06ac6f685..c08797671d 100644 --- a/boards/common/msb-430/board_init.c +++ b/boards/common/msb-430/board_init.c @@ -193,7 +193,6 @@ void msp430_init_dco(void) void board_init(void) { - msp430_cpu_init(); msb_ports_init(); msp430_set_cpu_speed(CLOCK_CORECLOCK); diff --git a/boards/common/nrf51/board.c b/boards/common/nrf51/board.c index e0be826613..ff7c4de9e0 100644 --- a/boards/common/nrf51/board.c +++ b/boards/common/nrf51/board.c @@ -23,6 +23,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/nrf52xxxdk/board.c b/boards/common/nrf52xxxdk/board.c index ceccba5c1a..ea1bd18b19 100644 --- a/boards/common/nrf52xxxdk/board.c +++ b/boards/common/nrf52xxxdk/board.c @@ -27,6 +27,4 @@ void board_init(void) LED_PORT->DIRSET = (LED_MASK); LED_PORT->OUTSET = (LED_MASK); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/nucleo/board_common_nucleo_init.c b/boards/common/nucleo/board_common_nucleo_init.c index d7a6af1ba7..4384ab3f75 100644 --- a/boards/common/nucleo/board_common_nucleo_init.c +++ b/boards/common/nucleo/board_common_nucleo_init.c @@ -34,9 +34,6 @@ void board_common_nucleo_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialization of on-board LEDs * NOTE: LED0 must be explicitly enabled as it is also used for SPI_DEV(0) */ #ifdef AUTO_INIT_LED0 diff --git a/boards/common/particle-mesh/board.c b/boards/common/particle-mesh/board.c index aa327b08b6..74270ad364 100644 --- a/boards/common/particle-mesh/board.c +++ b/boards/common/particle-mesh/board.c @@ -89,6 +89,4 @@ void board_init(void) board_nrfantenna_select(BOARD_NRFANTENNA_DEFAULT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/saml1x/board.c b/boards/common/saml1x/board.c index 7ae43fde1e..cbc9783568 100644 --- a/boards/common/saml1x/board.c +++ b/boards/common/saml1x/board.c @@ -29,8 +29,6 @@ void board_init(void) { /* initialize the boards LEDs */ led_init(); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/slwstk6000b/board.c b/boards/common/slwstk6000b/board.c index 33935b751d..b20502745d 100644 --- a/boards/common/slwstk6000b/board.c +++ b/boards/common/slwstk6000b/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/common/sodaq/board.c b/boards/common/sodaq/board.c index 5f0195d148..5a8fce8665 100644 --- a/boards/common/sodaq/board.c +++ b/boards/common/sodaq/board.c @@ -26,6 +26,4 @@ void board_init(void) /* initialize the on-board LED */ gpio_init(LED0_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/common/weact-f4x1cx/board.c b/boards/common/weact-f4x1cx/board.c index 6acbb13c2b..1451e3dd0e 100644 --- a/boards/common/weact-f4x1cx/board.c +++ b/boards/common/weact-f4x1cx/board.c @@ -57,8 +57,6 @@ mtd_dev_t *mtd0 = (mtd_dev_t *)&weact_nor_dev; void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; } diff --git a/boards/dwm1001/board.c b/boards/dwm1001/board.c index 883d26ef96..dc2c9e5a6d 100644 --- a/boards/dwm1001/board.c +++ b/boards/dwm1001/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); diff --git a/boards/e180-zg120b-tb/board.c b/boards/e180-zg120b-tb/board.c index b4cfad7dea..183c641daa 100644 --- a/boards/e180-zg120b-tb/board.c +++ b/boards/e180-zg120b-tb/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* initialize the LEDs */ gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/ek-lm4f120xl/board.c b/boards/ek-lm4f120xl/board.c index 8d4ae520ce..9014b1f9c4 100644 --- a/boards/ek-lm4f120xl/board.c +++ b/boards/ek-lm4f120xl/board.c @@ -26,8 +26,6 @@ void board_init(void) /* initialize the boards LEDs, this is done for debugging purpose */ leds_init(); - /* initialize the CPU */ - cpu_init(); } /** diff --git a/boards/f4vi1/board.c b/boards/f4vi1/board.c index ac3a96cda8..e0dd69a47d 100644 --- a/boards/f4vi1/board.c +++ b/boards/f4vi1/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/feather-m0/board.c b/boards/feather-m0/board.c index 34c8711dbd..59fabea361 100644 --- a/boards/feather-m0/board.c +++ b/boards/feather-m0/board.c @@ -24,8 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialize the on-board red LED on pin PA17 */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/feather-nrf52840/board.c b/boards/feather-nrf52840/board.c index 111a85619c..a424d7971a 100644 --- a/boards/feather-nrf52840/board.c +++ b/boards/feather-nrf52840/board.c @@ -26,8 +26,6 @@ void board_init(void) gpio_init(LED1_PIN, GPIO_OUT); gpio_clear(LED1_PIN); - /* initialize the CPU */ - cpu_init(); } /** @} */ diff --git a/boards/firefly/board.c b/boards/firefly/board.c index 7a35943121..863e1a562e 100644 --- a/boards/firefly/board.c +++ b/boards/firefly/board.c @@ -26,8 +26,6 @@ static inline void leds_init(void); void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialize the boards LEDs */ leds_init(); } diff --git a/boards/fox/board.c b/boards/fox/board.c index 3b0c3fa53a..54a44608ee 100644 --- a/boards/fox/board.c +++ b/boards/fox/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs and turn them off */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/frdm-k22f/board.c b/boards/frdm-k22f/board.c index a8b1631d14..4874ed8d18 100644 --- a/boards/frdm-k22f/board.c +++ b/boards/frdm-k22f/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize and turn off the on-board RGB-LED */ gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); diff --git a/boards/frdm-k64f/board.c b/boards/frdm-k64f/board.c index bb5d78cd29..785d0632f5 100644 --- a/boards/frdm-k64f/board.c +++ b/boards/frdm-k64f/board.c @@ -28,8 +28,6 @@ void board_init(void) SIM->SCGC5 |= SIM_SCGC5_PORTA_MASK; PORTA->PCR[18] &= ~(PORT_PCR_ISF_MASK | PORT_PCR_MUX(0x07)); - /* initialize the CPU core */ - cpu_init(); /* initialize and turn off the on-board RGB-LED */ gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/frdm-kl43z/board.c b/boards/frdm-kl43z/board.c index fc5cdb2b0d..253325c953 100644 --- a/boards/frdm-kl43z/board.c +++ b/boards/frdm-kl43z/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize and turn off the on-board RGB-LED */ gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); diff --git a/boards/hamilton/board.c b/boards/hamilton/board.c index 179d8d0a47..8b1c4c1d87 100644 --- a/boards/hamilton/board.c +++ b/boards/hamilton/board.c @@ -28,6 +28,4 @@ void board_init(void) /* initialize the on-board LED */ gpio_init(LED0_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/hifive1/board.c b/boards/hifive1/board.c index 9da9afe150..b738361be5 100644 --- a/boards/hifive1/board.c +++ b/boards/hifive1/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* Initialize CPU and clocks */ - cpu_init(); - /* Configure GPIOs for LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/hifive1b/board.c b/boards/hifive1b/board.c index f119cb3b35..792485988c 100644 --- a/boards/hifive1b/board.c +++ b/boards/hifive1b/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* Initialize CPU and clocks */ - cpu_init(); - /* Configure GPIOs for LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/i-nucleo-lrwan1/board.c b/boards/i-nucleo-lrwan1/board.c index 4a74f0d333..850d940327 100644 --- a/boards/i-nucleo-lrwan1/board.c +++ b/boards/i-nucleo-lrwan1/board.c @@ -23,6 +23,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/ikea-tradfri/board.c b/boards/ikea-tradfri/board.c index d5fadb3d9b..ab3a3bd4cd 100644 --- a/boards/ikea-tradfri/board.c +++ b/boards/ikea-tradfri/board.c @@ -56,9 +56,6 @@ mtd_dev_t *mtd0 = (mtd_dev_t *)&ikea_tradfri_nor_dev; void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* initialize the LEDs */ gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/im880b/board.c b/boards/im880b/board.c index 0a834d9555..9712002db1 100644 --- a/boards/im880b/board.c +++ b/boards/im880b/board.c @@ -23,6 +23,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/limifrog-v1/board.c b/boards/limifrog-v1/board.c index bde33a1247..7bf9cbe4eb 100644 --- a/boards/limifrog-v1/board.c +++ b/boards/limifrog-v1/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/lobaro-lorabox/board.c b/boards/lobaro-lorabox/board.c index 529f63975b..fb67d1867a 100644 --- a/boards/lobaro-lorabox/board.c +++ b/boards/lobaro-lorabox/board.c @@ -22,8 +22,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); gpio_init(LED0_PIN, GPIO_OUT); gpio_init(EN3V3_PIN, GPIO_OUT); } diff --git a/boards/lora-e5-dev/board.c b/boards/lora-e5-dev/board.c index e21bf4bbcb..87b69c60f5 100644 --- a/boards/lora-e5-dev/board.c +++ b/boards/lora-e5-dev/board.c @@ -28,8 +28,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); /* initialization of on-board LEDs */ #ifdef AUTO_INIT_LED0 gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/lsn50/board.c b/boards/lsn50/board.c index 7b975eef68..8b5d5ac7d2 100644 --- a/boards/lsn50/board.c +++ b/boards/lsn50/board.c @@ -23,6 +23,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/maple-mini/board.c b/boards/maple-mini/board.c index 4e088b8026..d0873d6442 100644 --- a/boards/maple-mini/board.c +++ b/boards/maple-mini/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LED */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/mbed_lpc1768/board.c b/boards/mbed_lpc1768/board.c index 726676f60b..e9a90546cd 100644 --- a/boards/mbed_lpc1768/board.c +++ b/boards/mbed_lpc1768/board.c @@ -45,8 +45,6 @@ void board_init(void) { /* initialize core clocks via CMSIS function */ SystemInit(); - /* initialize the CPU */ - cpu_init(); /* initialize the boards LEDs */ leds_init(); } diff --git a/boards/microbit-v2/board.c b/boards/microbit-v2/board.c index 0a130b26a9..7a84fb4a99 100644 --- a/boards/microbit-v2/board.c +++ b/boards/microbit-v2/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the on board buttons */ gpio_init(BTN0_PIN, BTN0_MODE); gpio_init(BTN1_PIN, BTN1_MODE); diff --git a/boards/microbit/board.c b/boards/microbit/board.c index d2c7ab8453..3a0e2ea411 100644 --- a/boards/microbit/board.c +++ b/boards/microbit/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the micro:bit's buttons */ gpio_init(BTN0_PIN, BTN0_MODE); gpio_init(BTN1_PIN, BTN1_MODE); diff --git a/boards/msbiot/board.c b/boards/msbiot/board.c index 6cfefbb688..74e925e2a5 100644 --- a/boards/msbiot/board.c +++ b/boards/msbiot/board.c @@ -25,9 +25,6 @@ static void gpios_init(void); void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpios_init(); } diff --git a/boards/mulle/board.c b/boards/mulle/board.c index 4d4c4a15c5..50df907e80 100644 --- a/boards/mulle/board.c +++ b/boards/mulle/board.c @@ -113,8 +113,6 @@ void board_init(void) /* Turn on AVDD for reading voltages */ gpio_set(MULLE_POWER_AVDD); - /* initialize the CPU */ - cpu_init(); /* NVRAM requires xtimer for timing */ xtimer_init(); diff --git a/boards/nrf51dk/board.c b/boards/nrf51dk/board.c index 5b72baa4da..9afd7dcc73 100644 --- a/boards/nrf51dk/board.c +++ b/boards/nrf51dk/board.c @@ -39,6 +39,4 @@ void board_init(void) gpio_init(BTN2_PIN, BTN2_MODE); gpio_init(BTN3_PIN, BTN3_MODE); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf51dongle/board.c b/boards/nrf51dongle/board.c index 18ceac0864..bd6ca1debf 100644 --- a/boards/nrf51dongle/board.c +++ b/boards/nrf51dongle/board.c @@ -28,6 +28,4 @@ void board_init(void) gpio_init(LED1_PIN, GPIO_OUT); gpio_init(LED2_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf52832-mdk/board.c b/boards/nrf52832-mdk/board.c index 317317807a..7f0dcdc516 100644 --- a/boards/nrf52832-mdk/board.c +++ b/boards/nrf52832-mdk/board.c @@ -33,6 +33,4 @@ void board_init(void) gpio_init(LED2_PIN, GPIO_OUT); gpio_set(LED2_PIN); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf52840-mdk-dongle/board.c b/boards/nrf52840-mdk-dongle/board.c index be2d183202..819eb06d92 100644 --- a/boards/nrf52840-mdk-dongle/board.c +++ b/boards/nrf52840-mdk-dongle/board.c @@ -33,6 +33,4 @@ void board_init(void) gpio_init(LED2_PIN, GPIO_OUT); gpio_set(LED2_PIN); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf52840-mdk/board.c b/boards/nrf52840-mdk/board.c index 7b7f6bab01..930a08fdaa 100644 --- a/boards/nrf52840-mdk/board.c +++ b/boards/nrf52840-mdk/board.c @@ -33,6 +33,4 @@ void board_init(void) gpio_init(LED2_PIN, GPIO_OUT); gpio_set(LED2_PIN); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf52840dongle/board.c b/boards/nrf52840dongle/board.c index 87f66d050c..fc12b6507f 100644 --- a/boards/nrf52840dongle/board.c +++ b/boards/nrf52840dongle/board.c @@ -37,6 +37,4 @@ void board_init(void) gpio_init(LED3_PIN, GPIO_OUT); gpio_set(LED3_PIN); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf6310/board.c b/boards/nrf6310/board.c index a2f83e1775..b6023693fd 100644 --- a/boards/nrf6310/board.c +++ b/boards/nrf6310/board.c @@ -29,6 +29,4 @@ void board_init(void) NRF_GPIO->DIRSET = (LED0_MASK | LED1_MASK | LED2_MASK); NRF_GPIO->OUTSET = (LED0_MASK | LED1_MASK | LED2_MASK); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nrf9160dk/board.c b/boards/nrf9160dk/board.c index 9607e96935..cb6c6d09c7 100644 --- a/boards/nrf9160dk/board.c +++ b/boards/nrf9160dk/board.c @@ -37,7 +37,4 @@ void board_init(void) gpio_init(BTN1_PIN, BTN1_MODE); gpio_init(BTN2_PIN, BTN2_MODE); gpio_init(BTN3_PIN, BTN3_MODE); - - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/nz32-sc151/board.c b/boards/nz32-sc151/board.c index 030032a86d..7524880a5b 100644 --- a/boards/nz32-sc151/board.c +++ b/boards/nz32-sc151/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/olimexino-stm32/board.c b/boards/olimexino-stm32/board.c index 3b72fa1367..ae345ae13c 100644 --- a/boards/olimexino-stm32/board.c +++ b/boards/olimexino-stm32/board.c @@ -21,9 +21,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/omote/board.c b/boards/omote/board.c index 73f0e8dd12..527f2b882f 100644 --- a/boards/omote/board.c +++ b/boards/omote/board.c @@ -24,8 +24,6 @@ void board_init(void) { /* initialize the boards LEDs */ leds_init(); - /* initialize the CPU */ - cpu_init(); /* The boot pin must be set to input otherwise it may lock the bootloader */ gpio_init(BOOT_PIN, GPIO_IN); diff --git a/boards/opencm904/board.c b/boards/opencm904/board.c index 93e52e93ba..db5e3768db 100644 --- a/boards/opencm904/board.c +++ b/boards/opencm904/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the board's LED */ gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; diff --git a/boards/openlabs-kw41z-mini/board.c b/boards/openlabs-kw41z-mini/board.c index de59891966..a2dc95e8de 100644 --- a/boards/openlabs-kw41z-mini/board.c +++ b/boards/openlabs-kw41z-mini/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize and turn off LEDs */ LED0_OFF; gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/openmote-b/board.c b/boards/openmote-b/board.c index da825bba54..1b2ef1a1c9 100644 --- a/boards/openmote-b/board.c +++ b/boards/openmote-b/board.c @@ -46,6 +46,4 @@ void board_init(void) RF24_SWITCH_AT86RF215_ON; #endif - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/openmote-cc2538/board.c b/boards/openmote-cc2538/board.c index 71b532be21..37e301a07a 100644 --- a/boards/openmote-cc2538/board.c +++ b/boards/openmote-cc2538/board.c @@ -29,6 +29,4 @@ void board_init(void) gpio_init(LED2_PIN, GPIO_OUT); gpio_init(LED3_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/p-l496g-cell02/board.c b/boards/p-l496g-cell02/board.c index ee27df6766..f7f7631a36 100644 --- a/boards/p-l496g-cell02/board.c +++ b/boards/p-l496g-cell02/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/pba-d-01-kw2x/board.c b/boards/pba-d-01-kw2x/board.c index 3baf0eb36d..ba4241931c 100644 --- a/boards/pba-d-01-kw2x/board.c +++ b/boards/pba-d-01-kw2x/board.c @@ -66,6 +66,4 @@ void board_init(void) modem_clock_init(); - /* initialize the CPU core */ - cpu_init(); } diff --git a/boards/phynode-kw41z/board.c b/boards/phynode-kw41z/board.c index 28b853a984..c3fce2b7c4 100644 --- a/boards/phynode-kw41z/board.c +++ b/boards/phynode-kw41z/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU core */ - cpu_init(); - /* initialize and turn off LEDs */ #ifdef LED0_PIN gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/pic32-wifire/wifire.c b/boards/pic32-wifire/wifire.c index eeeb2fdc89..368f34e5eb 100644 --- a/boards/pic32-wifire/wifire.c +++ b/boards/pic32-wifire/wifire.c @@ -29,8 +29,6 @@ void board_init(void) LED3_OFF; LED4_OFF; - /* initialize the CPU */ - cpu_init(); /* Stop the linker from throwing away the PIC32 config register settings */ dummy(); diff --git a/boards/pinetime/board.c b/boards/pinetime/board.c index 7985064ef0..bdc9e3bd56 100644 --- a/boards/pinetime/board.c +++ b/boards/pinetime/board.c @@ -61,9 +61,6 @@ mtd_dev_t *mtd0 = (mtd_dev_t *)&pinetime_nor_dev; void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize pins */ gpio_init(VCC33, GPIO_OUT); gpio_init(BUTTON0_ENABLE, GPIO_OUT); diff --git a/boards/pyboard/board.c b/boards/pyboard/board.c index 053c6e2050..8d02322843 100644 --- a/boards/pyboard/board.c +++ b/boards/pyboard/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize LED */ gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/qn9080dk/board.c b/boards/qn9080dk/board.c index 02df35da55..22fc53cd05 100644 --- a/boards/qn9080dk/board.c +++ b/boards/qn9080dk/board.c @@ -68,6 +68,4 @@ void board_init(void) gpio_init(BTN1_PIN, BTN1_MODE); gpio_init(BTN2_PIN, BTN2_MODE); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/reel/board.c b/boards/reel/board.c index fb396c91b1..4d0438fb03 100644 --- a/boards/reel/board.c +++ b/boards/reel/board.c @@ -29,6 +29,4 @@ void board_init(void) NRF_P1->DIRSET = (LED_MASK_P1); NRF_P1->OUTSET = (LED_MASK_P1); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/remote-pa/board.c b/boards/remote-pa/board.c index 785d172808..38f652002f 100644 --- a/boards/remote-pa/board.c +++ b/boards/remote-pa/board.c @@ -33,8 +33,6 @@ void board_init(void) gpio_init(LED1_PIN, GPIO_OUT); gpio_init(LED2_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); /* initialize the 2.4GHz RF switch */ rf_switch_init(); diff --git a/boards/remote-reva/board.c b/boards/remote-reva/board.c index 3796d3b286..7e35f18389 100644 --- a/boards/remote-reva/board.c +++ b/boards/remote-reva/board.c @@ -31,8 +31,6 @@ void board_init(void) { /* initialize the boards LEDs */ leds_init(); - /* initialize the CPU */ - cpu_init(); /* initialize the 2.4GHz RF switch */ rf_switch_init(); } diff --git a/boards/remote-revb/board.c b/boards/remote-revb/board.c index 5bf059ddc9..662cab0c2e 100644 --- a/boards/remote-revb/board.c +++ b/boards/remote-revb/board.c @@ -31,8 +31,6 @@ void board_init(void) { /* initialize the boards LEDs */ leds_init(); - /* initialize the CPU */ - cpu_init(); /* initialize the 2.4GHz RF switch */ rf_switch_init(); } diff --git a/boards/rpi-pico/board.c b/boards/rpi-pico/board.c index e282543b93..007302c692 100644 --- a/boards/rpi-pico/board.c +++ b/boards/rpi-pico/board.c @@ -22,8 +22,5 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); } diff --git a/boards/samd10-xmini/board.c b/boards/samd10-xmini/board.c index 501b3e5502..716abc7b86 100644 --- a/boards/samd10-xmini/board.c +++ b/boards/samd10-xmini/board.c @@ -36,6 +36,4 @@ void board_init(void) gpio_init(GPIO_PIN(PA, 24), GPIO_IN_PU); gpio_init(GPIO_PIN(PA, 25), GPIO_IN_PU); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/samd20-xpro/board.c b/boards/samd20-xpro/board.c index b3ffe77b2f..c2ee17f71a 100644 --- a/boards/samd20-xpro/board.c +++ b/boards/samd20-xpro/board.c @@ -30,6 +30,4 @@ void board_init(void) /* initialize the on-board button */ gpio_init(BTN0_PIN, BTN0_MODE); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/samd21-xpro/board.c b/boards/samd21-xpro/board.c index 7fd18a4dee..990d4fd486 100644 --- a/boards/samd21-xpro/board.c +++ b/boards/samd21-xpro/board.c @@ -33,6 +33,4 @@ void board_init(void) /* initialize the on-board button */ gpio_init(BTN0_PIN, BTN0_MODE); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/same54-xpro/board.c b/boards/same54-xpro/board.c index da5b67216d..df47b4a51f 100644 --- a/boards/same54-xpro/board.c +++ b/boards/same54-xpro/board.c @@ -73,6 +73,4 @@ void board_init(void) /* initialize the on-board button */ gpio_init(BTN0_PIN, BTN0_MODE); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/saml21-xpro/board.c b/boards/saml21-xpro/board.c index 8ef9c4ded9..10ce3839e6 100644 --- a/boards/saml21-xpro/board.c +++ b/boards/saml21-xpro/board.c @@ -31,9 +31,6 @@ void led_init(void); void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ led_init(); } diff --git a/boards/samr21-xpro/board.c b/boards/samr21-xpro/board.c index a398b4c020..49c20e21d8 100644 --- a/boards/samr21-xpro/board.c +++ b/boards/samr21-xpro/board.c @@ -41,9 +41,6 @@ void board_init(void) gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; - /* initialize the CPU */ - cpu_init(); - /* initialize the on-board antenna switch */ if (IS_USED(MODULE_AT86RF233)) { gpio_init(RFCTL1_PIN, GPIO_OUT); diff --git a/boards/samr30-xpro/board.c b/boards/samr30-xpro/board.c index f9e40b7e40..8a9f7036a6 100644 --- a/boards/samr30-xpro/board.c +++ b/boards/samr30-xpro/board.c @@ -42,9 +42,6 @@ void board_antenna_config(uint8_t antenna) void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ led_init(); diff --git a/boards/samr34-xpro/board.c b/boards/samr34-xpro/board.c index 7add16ea02..b050c41b7a 100644 --- a/boards/samr34-xpro/board.c +++ b/boards/samr34-xpro/board.c @@ -33,9 +33,6 @@ void led_init(void); void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ led_init(); diff --git a/boards/seeedstudio-gd32/board.c b/boards/seeedstudio-gd32/board.c index 145ff8ab80..6770fd78c2 100644 --- a/boards/seeedstudio-gd32/board.c +++ b/boards/seeedstudio-gd32/board.c @@ -23,6 +23,4 @@ void board_init(void) { - /* Initialize CPU and clocks */ - cpu_init(); } diff --git a/boards/seeeduino_arch-pro/board.c b/boards/seeeduino_arch-pro/board.c index aa4a2412b9..24925e4282 100644 --- a/boards/seeeduino_arch-pro/board.c +++ b/boards/seeeduino_arch-pro/board.c @@ -45,8 +45,6 @@ void board_init(void) { /* initialize core clocks via CMSIS function */ SystemInit(); - /* initialize the CPU */ - cpu_init(); /* initialize the boards LEDs */ leds_init(); } diff --git a/boards/seeeduino_xiao/board.c b/boards/seeeduino_xiao/board.c index 466f74fbeb..afcaeca896 100644 --- a/boards/seeeduino_xiao/board.c +++ b/boards/seeeduino_xiao/board.c @@ -27,9 +27,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the on-board LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/sensebox_samd21/board.c b/boards/sensebox_samd21/board.c index 1c10faa6e1..bcabdfbf15 100644 --- a/boards/sensebox_samd21/board.c +++ b/boards/sensebox_samd21/board.c @@ -44,9 +44,6 @@ mtd_dev_t *mtd0 = (mtd_dev_t *)&sensebox_sd_dev; void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the on-board red LED on pin PA27 */ gpio_init(LED0_PIN, GPIO_OUT); diff --git a/boards/serpente/board.c b/boards/serpente/board.c index 9f01b0f6fc..e3504be7dc 100644 --- a/boards/serpente/board.c +++ b/boards/serpente/board.c @@ -59,9 +59,6 @@ mtd_dev_t *mtd0 = (mtd_dev_t *)&serpente_nor_dev; void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the on-board red LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/slstk3400a/board.c b/boards/slstk3400a/board.c index ae9d7f97d3..1ccaced7c8 100644 --- a/boards/slstk3400a/board.c +++ b/boards/slstk3400a/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/slstk3401a/board.c b/boards/slstk3401a/board.c index 11524e7dfb..518ba0f3e4 100644 --- a/boards/slstk3401a/board.c +++ b/boards/slstk3401a/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/slstk3402a/board.c b/boards/slstk3402a/board.c index e3a9676003..81b4130cbc 100644 --- a/boards/slstk3402a/board.c +++ b/boards/slstk3402a/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/sltb001a/board.c b/boards/sltb001a/board.c index 0fa85066e5..b5f4a60d7c 100644 --- a/boards/sltb001a/board.c +++ b/boards/sltb001a/board.c @@ -29,9 +29,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/slwstk6220a/board.c b/boards/slwstk6220a/board.c index 1c94f2f52b..3e9e974045 100644 --- a/boards/slwstk6220a/board.c +++ b/boards/slwstk6220a/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/sodaq-one/board.c b/boards/sodaq-one/board.c index 15c39bf214..5a729d86dd 100644 --- a/boards/sodaq-one/board.c +++ b/boards/sodaq-one/board.c @@ -38,6 +38,4 @@ void board_init(void) GPS_ENABLE_OFF; gpio_init(GPS_ENABLE_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/sodaq-sara-aff/board.c b/boards/sodaq-sara-aff/board.c index 7126a70641..2440ef5384 100644 --- a/boards/sodaq-sara-aff/board.c +++ b/boards/sodaq-sara-aff/board.c @@ -49,6 +49,4 @@ void board_init(void) GPS_ENABLE_OFF; gpio_init(GPS_ENABLE_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/sodaq-sara-sff/board.c b/boards/sodaq-sara-sff/board.c index a4d97c4626..d71d4ee762 100644 --- a/boards/sodaq-sara-sff/board.c +++ b/boards/sodaq-sara-sff/board.c @@ -52,6 +52,4 @@ void board_init(void) LED_GREEN_OFF; gpio_init(LED_GREEN_PIN, GPIO_OUT); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/spark-core/board.c b/boards/spark-core/board.c index 854f370995..20bc53245a 100644 --- a/boards/spark-core/board.c +++ b/boards/spark-core/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stk3200/board.c b/boards/stk3200/board.c index bc97716916..0f338cab85 100644 --- a/boards/stk3200/board.c +++ b/boards/stk3200/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/stk3600/board.c b/boards/stk3600/board.c index 1204cb6d34..639081a9cf 100644 --- a/boards/stk3600/board.c +++ b/boards/stk3600/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/stk3700/board.c b/boards/stk3700/board.c index 385fb87737..bcc6783d57 100644 --- a/boards/stk3700/board.c +++ b/boards/stk3700/board.c @@ -24,9 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - #ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); diff --git a/boards/stm32f030f4-demo/board.c b/boards/stm32f030f4-demo/board.c index b5f9a9ff08..6988f9798b 100644 --- a/boards/stm32f030f4-demo/board.c +++ b/boards/stm32f030f4-demo/board.c @@ -24,7 +24,6 @@ void board_init(void) { - cpu_init(); gpio_init(LED0_PIN, GPIO_OUT); LED0_OFF; } diff --git a/boards/stm32f0discovery/board.c b/boards/stm32f0discovery/board.c index b593318104..098924099a 100644 --- a/boards/stm32f0discovery/board.c +++ b/boards/stm32f0discovery/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32f3discovery/board.c b/boards/stm32f3discovery/board.c index fb558a9f78..0957d3bc7f 100644 --- a/boards/stm32f3discovery/board.c +++ b/boards/stm32f3discovery/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32f429i-disc1/board.c b/boards/stm32f429i-disc1/board.c index 1a2f3e5e7f..8b3d422382 100644 --- a/boards/stm32f429i-disc1/board.c +++ b/boards/stm32f429i-disc1/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32f469i-disco/board.c b/boards/stm32f469i-disco/board.c index 91771a9eaf..029f1322d0 100644 --- a/boards/stm32f469i-disco/board.c +++ b/boards/stm32f469i-disco/board.c @@ -23,8 +23,6 @@ void board_init(void) { - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); gpio_init(LED2_PIN, GPIO_OUT); diff --git a/boards/stm32f4discovery/board.c b/boards/stm32f4discovery/board.c index 160d3f3fde..3be8cc2f92 100644 --- a/boards/stm32f4discovery/board.c +++ b/boards/stm32f4discovery/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32f723e-disco/board.c b/boards/stm32f723e-disco/board.c index 5965c6c1e7..d1cf2a0ef3 100644 --- a/boards/stm32f723e-disco/board.c +++ b/boards/stm32f723e-disco/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ /* NOTE: LED0 must be explicitly enabled as it is also used for SPI_DEV(0) */ #ifdef AUTO_INIT_LED0 diff --git a/boards/stm32f769i-disco/board.c b/boards/stm32f769i-disco/board.c index ca2d08df98..cc9025c484 100644 --- a/boards/stm32f769i-disco/board.c +++ b/boards/stm32f769i-disco/board.c @@ -25,9 +25,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32g0316-disco/board.c b/boards/stm32g0316-disco/board.c index ca8ed8ec50..dd4984c941 100644 --- a/boards/stm32g0316-disco/board.c +++ b/boards/stm32g0316-disco/board.c @@ -24,8 +24,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); gpio_init(LED0_PIN, LED0_MODE); gpio_set(LED0_PIN); diff --git a/boards/stm32l0538-disco/board.c b/boards/stm32l0538-disco/board.c index e3cfe53853..7f22232974 100644 --- a/boards/stm32l0538-disco/board.c +++ b/boards/stm32l0538-disco/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize the boards LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32l476g-disco/board.c b/boards/stm32l476g-disco/board.c index b8769c974d..50be4d67a2 100644 --- a/boards/stm32l476g-disco/board.c +++ b/boards/stm32l476g-disco/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - /* initialize LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); diff --git a/boards/stm32mp157c-dk2/board.c b/boards/stm32mp157c-dk2/board.c index e6dfbf5463..d1188bd51e 100644 --- a/boards/stm32mp157c-dk2/board.c +++ b/boards/stm32mp157c-dk2/board.c @@ -25,6 +25,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/teensy31/board.c b/boards/teensy31/board.c index 1486b7c722..42b9623c29 100644 --- a/boards/teensy31/board.c +++ b/boards/teensy31/board.c @@ -31,6 +31,4 @@ void board_init(void) gpio_init(LED0_PIN, GPIO_OUT); gpio_set(LED0_PIN); - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/telosb/board.c b/boards/telosb/board.c index e72a6239f5..1819f05cf1 100644 --- a/boards/telosb/board.c +++ b/boards/telosb/board.c @@ -112,7 +112,6 @@ void msp430_init_dco(void) void board_init(void) { - msp430_cpu_init(); /* disable watchdog timer */ WDTCTL = WDTPW + WDTHOLD; diff --git a/boards/thingy52/board.c b/boards/thingy52/board.c index 476a86a8fc..2397330611 100644 --- a/boards/thingy52/board.c +++ b/boards/thingy52/board.c @@ -34,6 +34,4 @@ void board_init(void) gpio_set(VDD_PWR_CTRL_PIN); #endif - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/ublox-c030-u201/board.c b/boards/ublox-c030-u201/board.c index 1701da4eb7..06392e6cdd 100644 --- a/boards/ublox-c030-u201/board.c +++ b/boards/ublox-c030-u201/board.c @@ -23,9 +23,6 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); - gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); gpio_init(LED2_PIN, GPIO_OUT); diff --git a/boards/waspmote-pro/board.c b/boards/waspmote-pro/board.c index 1fdd0376e0..50d6d91cec 100644 --- a/boards/waspmote-pro/board.c +++ b/boards/waspmote-pro/board.c @@ -58,6 +58,5 @@ void board_init(void) #endif #endif - cpu_init(); led_init(); } diff --git a/boards/yarm/board.c b/boards/yarm/board.c index a08b061b7f..b73e670a11 100644 --- a/boards/yarm/board.c +++ b/boards/yarm/board.c @@ -27,6 +27,4 @@ void board_init(void) { - /* initialize the CPU */ - cpu_init(); } diff --git a/boards/z1/board.c b/boards/z1/board.c index c2ccbf279a..c2338d9b89 100644 --- a/boards/z1/board.c +++ b/boards/z1/board.c @@ -200,9 +200,6 @@ void msp430_init_dco(void) void board_init(void) { - /* init CPU core */ - msp430_cpu_init(); - /* disable watchdog timer */ WDTCTL = WDTPW + WDTHOLD;