common: Avoid including fsl_clock.h, clock_config.h and board.h.
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 17 Jun 2019 04:24:44 +0000 (06:24 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 7 Jul 2019 07:58:43 +0000 (09:58 +0200)
We won't need them.

src/common/fsl_common.h
src/common/virtual_com.c

index a53dbc2713d14e0ecfe80a1e44f4cec82fd384b5..30c719ac7d09315e8b980e6ab776b26ece4ec51b 100644 (file)
@@ -168,12 +168,6 @@ enum _generic_status
 /*! @brief Type used for all status and error return values. */
 typedef int32_t status_t;
 
-/*
- * The fsl_clock.h is included here because it needs MAKE_VERSION/MAKE_STATUS/status_t
- * defined in previous of this file.
- */
-#include "fsl_clock.h"
-
 /*
  * Chip level peripheral reset API, for MCUs that implement peripheral reset control external to a peripheral
  */
index d9e507fbc617df4c2b330ffc3147826b5b7d21ac..013e84fa51e80db473009d6d47de295cb54643d7 100644 (file)
@@ -32,8 +32,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "fsl_device_registers.h"
-#include "clock_config.h"
-#include "board.h"
 
 #include <stdio.h>
 #include <stdlib.h>