From 5809c1940cf1a335e8eba871e66b9f40b5af2f6e Mon Sep 17 00:00:00 2001
From: Hauke Petersen <hauke.petersen@fu-berlin.de>
Date: Fri, 18 Aug 2017 11:11:39 +0200
Subject: [PATCH] boards: don't redefine xtimer default values

---
 boards/cc2538dk/include/board.h             | 4 ----
 boards/cc2650stk/include/board.h            | 4 ----
 boards/mulle/include/board.h                | 5 -----
 boards/openmote-cc2538/include/board.h      | 4 ----
 boards/remote-common/include/board_common.h | 4 ----
 5 files changed, 21 deletions(-)

diff --git a/boards/cc2538dk/include/board.h b/boards/cc2538dk/include/board.h
index c8bb164785..db27a61bdc 100644
--- a/boards/cc2538dk/include/board.h
+++ b/boards/cc2538dk/include/board.h
@@ -76,11 +76,7 @@ extern "C" {
  * @name    xtimer configuration
  * @{
  */
-#define XTIMER_DEV          (0)
-#define XTIMER_CHAN         (0)
 #define XTIMER_WIDTH        (16)
-#define XTIMER_SHIFT        (0)
-#define XTIMER_HZ           (1000000UL)
 #define XTIMER_BACKOFF      (50)
 #define XTIMER_ISR_BACKOFF  (40)
 /** @} */
diff --git a/boards/cc2650stk/include/board.h b/boards/cc2650stk/include/board.h
index dec8fe717a..92c1f749d4 100644
--- a/boards/cc2650stk/include/board.h
+++ b/boards/cc2650stk/include/board.h
@@ -32,11 +32,7 @@ extern "C" {
  * @name    xtimer configuration
  * @{
  */
-#define XTIMER_DEV          (0)
-#define XTIMER_CHAN         (0)
 #define XTIMER_WIDTH        (16)
-#define XTIMER_SHIFT        (0)
-#define XTIMER_HZ           (1000000UL)
 #define XTIMER_BACKOFF      (50)
 #define XTIMER_ISR_BACKOFF  (40)
 /** @} */
diff --git a/boards/mulle/include/board.h b/boards/mulle/include/board.h
index af24f75886..1d8ca2615a 100644
--- a/boards/mulle/include/board.h
+++ b/boards/mulle/include/board.h
@@ -47,24 +47,19 @@
 /* LPTMR xtimer configuration */
 /* WIP, Use PIT for now */
 #define XTIMER_DEV                  (TIMER_LPTMR_DEV(0))
-#define XTIMER_CHAN                 (0)
 /* LPTMR is 16 bits wide */
 #define XTIMER_WIDTH                (16)
 #define XTIMER_BACKOFF              (4)
 #define XTIMER_ISR_BACKOFF          (4)
 #define XTIMER_OVERHEAD             (3)
 #define XTIMER_HZ                   (32768ul)
-#define XTIMER_SHIFT                (0)
 #else
 /* PIT xtimer configuration */
 #define XTIMER_DEV                  (TIMER_PIT_DEV(0))
 #define XTIMER_CHAN                 (0)
-#define XTIMER_WIDTH                (32)
 #define XTIMER_BACKOFF              (40)
 #define XTIMER_ISR_BACKOFF          (40)
 #define XTIMER_OVERHEAD             (30)
-#define XTIMER_HZ                   (1000000ul)
-#define XTIMER_SHIFT                (0)
 #endif
 /** @} */
 
diff --git a/boards/openmote-cc2538/include/board.h b/boards/openmote-cc2538/include/board.h
index 43e57e380c..1cc00d6fb1 100644
--- a/boards/openmote-cc2538/include/board.h
+++ b/boards/openmote-cc2538/include/board.h
@@ -64,11 +64,7 @@
  * @name    xtimer configuration
  * @{
  */
-#define XTIMER_DEV          (0)
-#define XTIMER_CHAN         (0)
 #define XTIMER_WIDTH        (16)
-#define XTIMER_SHIFT        (0)
-#define XTIMER_HZ           (1000000UL)
 #define XTIMER_BACKOFF      (50)
 #define XTIMER_ISR_BACKOFF  (40)
 /** @} */
diff --git a/boards/remote-common/include/board_common.h b/boards/remote-common/include/board_common.h
index a6df5b7d1d..1837cc294e 100644
--- a/boards/remote-common/include/board_common.h
+++ b/boards/remote-common/include/board_common.h
@@ -77,11 +77,7 @@
  * @name xtimer configuration
  * @{
  */
-#define XTIMER_DEV          (0)
-#define XTIMER_CHAN         (0)
 #define XTIMER_WIDTH        (16)
-#define XTIMER_SHIFT        (0)
-#define XTIMER_HZ           (1000000UL)
 #define XTIMER_BACKOFF      (50)
 #define XTIMER_ISR_BACKOFF  (40)
 /** @} */
-- 
GitLab