2015-08-06 19:28:39 +08:00
|
|
|
subdir-ccflags-y += -I$(srctree)/include/drivers
|
|
|
|
|
2015-05-26 22:23:36 +08:00
|
|
|
obj-y = console/
|
2015-05-28 05:14:51 +08:00
|
|
|
obj-y += random/
|
2015-05-26 22:23:36 +08:00
|
|
|
obj-y += serial/
|
2016-01-14 07:20:56 +08:00
|
|
|
obj-$(CONFIG_SYS_CLOCK_EXISTS) += timer/
|
2015-05-26 22:23:36 +08:00
|
|
|
obj-y += interrupt_controller/
|
2015-10-16 02:00:07 +08:00
|
|
|
obj-$(CONFIG_GROVE) += grove/
|
2015-05-26 22:23:36 +08:00
|
|
|
obj-$(CONFIG_PCI) += pci/
|
2015-05-11 10:52:56 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH) += bluetooth/
|
2015-09-29 23:42:22 +08:00
|
|
|
obj-$(CONFIG_SHARED_IRQ) += shared_irq/
|
2015-08-21 17:57:49 +08:00
|
|
|
obj-$(CONFIG_SPI) += spi/
|
2016-02-19 02:52:19 +08:00
|
|
|
obj-$(CONFIG_FLASH) += flash/
|
2016-02-23 09:10:56 +08:00
|
|
|
obj-$(CONFIG_COUNTER) += counter/
|
2015-07-21 23:12:17 +08:00
|
|
|
obj-$(CONFIG_GPIO) += gpio/
|
2015-08-27 05:56:43 +08:00
|
|
|
obj-$(CONFIG_I2C) += i2c/
|
2015-09-22 06:39:22 +08:00
|
|
|
obj-$(CONFIG_PWM) += pwm/
|
2015-10-05 19:56:33 +08:00
|
|
|
obj-$(CONFIG_ADC) += adc/
|
2015-10-27 07:38:13 +08:00
|
|
|
obj-$(CONFIG_ETHERNET) += ethernet/
|
2016-04-01 18:48:07 +08:00
|
|
|
obj-$(CONFIG_NETWORKING_WITH_15_4) += ieee802154/
|
2015-11-22 10:07:43 +08:00
|
|
|
obj-$(CONFIG_WATCHDOG) += watchdog/
|
2015-11-22 09:58:15 +08:00
|
|
|
obj-$(CONFIG_RTC) += rtc/
|
2015-11-22 10:16:01 +08:00
|
|
|
obj-$(CONFIG_CLOCK_CONTROL) += clock_control/
|
2015-11-13 06:00:47 +08:00
|
|
|
obj-$(CONFIG_IPM) += ipm/
|
2016-01-26 00:21:51 +08:00
|
|
|
obj-$(CONFIG_SENSOR) += sensor/
|
2015-11-22 10:33:43 +08:00
|
|
|
obj-y += aio/
|
arm: Freescale K64/FRDM-K64F Pinmux support
K64 pinmux support is created as a normal driver.
As opposed to the Galileo board, the pin configuration options are
defined by the MCU and are not board-specific. Separate
platform/board-specific configuration code uses the pinmux driver for
the default pin settings. For FRDM-K64F, only the Arduino pins (22 of a
possible 160) are set up.
Some of the I/O pins routed to the Arduino header are also configured as
JTAG/SWD signals by default and are used by the OpenSDAv2 debug
interface. Therefore, a PRESERVE_JTAG_IO_PINS config option was created
for the FRDM-K64 platform to prevent the default pin settings from
re-configuring these pins.
The K64 MCU separates pin configuration and control, implemented in the
pinmux driver, from GPIO. This results in some cross referencing
between the K64 GPIO driver and the K64 pinmux driver due to the
dependencies of one on the other.
This pinmux driver also uses the expanded pinmux function/mode parameter
size to describe pin configuration options with bit fields for the K64,
including up to 8 pin functions, plus interrupt, pullup/down, drive
strength, open-drain and slew rate.
The following GCC warnings in the K64 pinmux driver are prevented when not
compiling with 'no-optimization' (-O0):
warning: 'gpio_dev' may be used uninitialized in this function
[-Wmaybe-uninitialized]
Change-Id: Ie5031d18750143bf895883058b3cd55fd9989fd3
Signed-off-by: Jeff Blais <jeff.blais@windriver.com>
2016-02-02 06:30:48 +08:00
|
|
|
obj-$(CONFIG_PINMUX) += pinmux/
|