diff --git a/boards/ikea-tradfri/board.c b/boards/ikea-tradfri/board.c index 9d1410bcc4..ee1d4b1b23 100644 --- a/boards/ikea-tradfri/board.c +++ b/boards/ikea-tradfri/board.c @@ -26,7 +26,9 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* initialize the LEDs */ gpio_init(LED0_PIN, GPIO_OUT); gpio_init(LED1_PIN, GPIO_OUT); +#endif } diff --git a/boards/slstk3401a/board.c b/boards/slstk3401a/board.c index 37313bb027..3a346efd77 100644 --- a/boards/slstk3401a/board.c +++ b/boards/slstk3401a/board.c @@ -28,6 +28,7 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); @@ -36,4 +37,5 @@ void board_init(void) gpio_init(SI7021_EN_PIN, GPIO_OUT); gpio_set(SI7021_EN_PIN); #endif +#endif } diff --git a/boards/slstk3402a/board.c b/boards/slstk3402a/board.c index 4a0f9170e6..1ceed57ef9 100644 --- a/boards/slstk3402a/board.c +++ b/boards/slstk3402a/board.c @@ -28,6 +28,7 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); @@ -36,4 +37,5 @@ void board_init(void) gpio_init(SI7021_EN_PIN, GPIO_OUT); gpio_set(SI7021_EN_PIN); #endif +#endif } diff --git a/boards/sltb001a/board.c b/boards/sltb001a/board.c index 26bde761d8..94ec47af4c 100644 --- a/boards/sltb001a/board.c +++ b/boards/sltb001a/board.c @@ -32,6 +32,7 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); @@ -61,4 +62,5 @@ void board_init(void) (RGB_LED4_ENABLED << RGB_LED4_EN_BIT)); #endif #endif +#endif } diff --git a/boards/slwstk6000b/board.c b/boards/slwstk6000b/board.c index ed1d85e517..606e86415b 100644 --- a/boards/slwstk6000b/board.c +++ b/boards/slwstk6000b/board.c @@ -28,6 +28,7 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); @@ -36,4 +37,5 @@ void board_init(void) gpio_init(SI7021_EN_PIN, GPIO_OUT); gpio_set(SI7021_EN_PIN); #endif +#endif } diff --git a/boards/stk3600/board.c b/boards/stk3600/board.c index 3ee4f85774..19f1453ff1 100644 --- a/boards/stk3600/board.c +++ b/boards/stk3600/board.c @@ -27,6 +27,8 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); +#endif } diff --git a/boards/stk3700/board.c b/boards/stk3700/board.c index de838de006..27b36725d6 100644 --- a/boards/stk3700/board.c +++ b/boards/stk3700/board.c @@ -27,6 +27,8 @@ void board_init(void) /* initialize the CPU */ cpu_init(); +#ifndef RIOTBOOT /* perform common board initialization */ board_common_init(); +#endif }