Skip to content

Commit

Permalink
fixup! adapt to new RIOTBOOT define
Browse files Browse the repository at this point in the history
  • Loading branch information
basilfx committed Sep 24, 2019
1 parent 9848156 commit dcd6ac5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpu/efm32/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#define EMU_EM4INIT EMU_EM4INIT_DEFAULT
#endif

#ifndef BOOTLOADER
#ifndef RIOTBOOT

#ifdef _SILICON_LABS_32B_SERIES_1
/**
Expand Down Expand Up @@ -160,15 +160,15 @@ static void pm_init(void)

void cpu_init(void)
{
#ifndef BOOTLOADER
#ifndef RIOTBOOT
/* apply errata that may be applicable (see em_chip.h) */
CHIP_Init();
#endif

/* initialize the Cortex-M core */
cortexm_init();

#ifndef BOOTLOADER
#ifndef RIOTBOOT

#ifdef _SILICON_LABS_32B_SERIES_1
/* initialize dc-dc */
Expand Down

0 comments on commit dcd6ac5

Please sign in to comment.