pinmux: move galileo pinmuxing to board/galileo

Change-Id: I46da8ee9d9ec807c5a797ae3311519353d54e6c6
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-05-08 14:47:10 -04:00
commit 14e0aa396f
8 changed files with 8 additions and 8 deletions

View file

@ -16,6 +16,7 @@
# limitations under the License. # limitations under the License.
# #
if PINMUX
comment "Galileo Pinmux Options" comment "Galileo Pinmux Options"
config PINMUX_GALILEO_EXP0_NAME config PINMUX_GALILEO_EXP0_NAME
@ -68,3 +69,4 @@ config PINMUX_GALILEO_GPIO_INTEL_RW_NAME
help help
The name of the Legacy Bridge Resume Well GPIO with The name of the Legacy Bridge Resume Well GPIO with
GPIO_SUS<0>..GPIO_SUS<5> in the schematic. GPIO_SUS<0>..GPIO_SUS<5> in the schematic.
endif

View file

@ -3,3 +3,5 @@ ccflags-y += -I$(srctree)/drivers
asflags-y := ${ccflags-y} asflags-y := ${ccflags-y}
obj-y += board.o obj-y += board.o
obj-$(CONFIG_PINMUX) += pinmux.o pinmux_galileo.o
obj-$(CONFIG_PINMUX_DEV_GALILEO) += pinmux_dev.o

View file

@ -16,12 +16,11 @@
* limitations under the License. * limitations under the License.
*/ */
#include <board.h>
#include <device.h>
#include <gpio.h>
#include <init.h>
#include <misc/util.h>
#include <nanokernel.h> #include <nanokernel.h>
#include <init.h>
#include <board.h>
#include <gpio.h>
#include <misc/util.h>
#include <pinmux.h> #include <pinmux.h>
#include <pwm.h> #include <pwm.h>

View file

@ -7,7 +7,6 @@ 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_OLIMEXINO_STM32) += stm32/pinmux_board_olimexino_stm32.o
obj-$(CONFIG_BOARD_STM32_MINI_A15) += stm32/pinmux_board_stm32_mini_a15.o obj-$(CONFIG_BOARD_STM32_MINI_A15) += stm32/pinmux_board_stm32_mini_a15.o
obj-$(CONFIG_BOARD_ARDUINO_DUE) += sam3x/pinmux_board_arduino_due.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
# "runtime" pinmux # "runtime" pinmux
obj-$(CONFIG_PINMUX_DEV) += dev/ obj-$(CONFIG_PINMUX_DEV) += dev/

View file

@ -1,11 +1,9 @@
ccflags-$(CONFIG_PINMUX_DEV) +=-I$(srctree)/drivers ccflags-$(CONFIG_PINMUX_DEV) +=-I$(srctree)/drivers
ccflags-$(CONFIG_PINMUX_DEV_FRDM_K64F) +=-I$(srctree)/drivers/pinmux/frdm_k64f/ ccflags-$(CONFIG_PINMUX_DEV_FRDM_K64F) +=-I$(srctree)/drivers/pinmux/frdm_k64f/
ccflags-$(CONFIG_PINMUX_DEV_GALILEO) +=-I$(srctree)/drivers/pinmux/galileo/
ccflags-$(CONFIG_PINMUX_DEV_QMSI) += -I$(CONFIG_QMSI_INSTALL_PATH)/include ccflags-$(CONFIG_PINMUX_DEV_QMSI) += -I$(CONFIG_QMSI_INSTALL_PATH)/include
ccflags-$(CONFIG_PINMUX_DEV_QUARK_MCU) +=-I$(srctree)/drivers/pinmux/quark_mcu/ ccflags-$(CONFIG_PINMUX_DEV_QUARK_MCU) +=-I$(srctree)/drivers/pinmux/quark_mcu/
obj-$(CONFIG_PINMUX_DEV_ATMEL_SAM3X) += pinmux_dev_atmel_sam3x.o obj-$(CONFIG_PINMUX_DEV_ATMEL_SAM3X) += pinmux_dev_atmel_sam3x.o
obj-$(CONFIG_PINMUX_DEV_FRDM_K64F) += pinmux_dev_frdm_k64f.o obj-$(CONFIG_PINMUX_DEV_FRDM_K64F) += pinmux_dev_frdm_k64f.o
obj-$(CONFIG_PINMUX_DEV_GALILEO) += pinmux_dev_galileo.o
obj-$(CONFIG_PINMUX_DEV_QMSI) += pinmux_dev_qmsi.o obj-$(CONFIG_PINMUX_DEV_QMSI) += pinmux_dev_qmsi.o
obj-$(CONFIG_PINMUX_DEV_STM32) += pinmux_dev_stm32.o obj-$(CONFIG_PINMUX_DEV_STM32) += pinmux_dev_stm32.o