quark: move pinmux files to board/

Move pinmux defintions under board/<board> and have all board
configuration in one single place.

Change-Id: I055b024384fae2938881b1c57d8ce7426e732e92
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-05-08 13:42:36 -04:00
parent 7101782900
commit 2055b06e4e
9 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,7 @@
ccflags-y += -I$(srctree)/include/drivers
ccflags-y += -I$(srctree)/drivers
ccflags-y += -I$(srctree)/drivers/pinmux
asflags-y := ${ccflags-y}
obj-$(CONFIG_PINMUX) += pinmux.o
obj-y += board.o

View file

@ -1,5 +1,7 @@
ccflags-y += -I$(srctree)/include/drivers
ccflags-y += -I$(srctree)/drivers
ccflags-y += -I$(srctree)/drivers/pinmux
asflags-y := ${ccflags-y}
obj-$(CONFIG_PINMUX) += pinmux.o
obj-y += board.o

View file

@ -1,5 +1,6 @@
ccflags-y += -I$(srctree)/include/drivers
ccflags-y += -I$(srctree)/drivers
ccflags-y += -I$(srctree)/drivers/pinmux
asflags-y := ${ccflags-y}
ccflags-$(CONFIG_NETWORKING_WITH_15_4_TI_CC2520) += \
@ -11,4 +12,5 @@ ccflags-$(CONFIG_NETWORKING_WITH_15_4_TI_CC2520) += \
ccflags-$(CONFIG_NETWORKING_WITH_15_4_TI_CC2520) += \
-I${srctree}/net/ip
obj-$(CONFIG_PINMUX) += pinmux.o
obj-y += board.o

View file

@ -6,11 +6,8 @@ obj-$(CONFIG_PINMUX_STM32) += stm32/pinmux_stm32.o
obj-$(CONFIG_BOARD_NUCLEO_F103RB) += stm32/pinmux_board_nucleo_f103rb.o
obj-$(CONFIG_BOARD_OLIMEXINO_STM32) += stm32/pinmux_board_olimexino_stm32.o
obj-$(CONFIG_BOARD_STM32_MINI_A15) += stm32/pinmux_board_stm32_mini_a15.o
obj-$(CONFIG_BOARD_ARDUINO_101) += quark_mcu/pinmux_board_arduino_101.o
obj-$(CONFIG_BOARD_ARDUINO_DUE) += sam3x/pinmux_board_arduino_due.o
obj-$(CONFIG_BOARD_GALILEO) += galileo/pinmux_board_galileo.o galileo/pinmux_galileo.o
obj-$(CONFIG_BOARD_QUARK_D2000_CRB) += quark_mcu/pinmux_board_quark_d2000_crb.o
obj-$(CONFIG_BOARD_QUARK_SE_DEVBOARD) += quark_mcu/pinmux_board_quark_se_dev.o
# "runtime" pinmux
obj-$(CONFIG_PINMUX_DEV) += dev/

View file

@ -23,7 +23,7 @@
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_quark_mcu.h"
#include "pinmux/pinmux_quark_mcu.h"
#define MASK_2_BITS 0x3