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/
|
2017-04-03 01:54:23 +08:00
|
|
|
obj-y += display/
|
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/
|
2017-08-09 14:21:11 +08:00
|
|
|
obj-$(CONFIG_BT) += 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/
|
2017-07-17 21:16:49 +08:00
|
|
|
obj-$(CONFIG_I2S) += i2s/
|
2015-09-22 06:39:22 +08:00
|
|
|
obj-$(CONFIG_PWM) += pwm/
|
2015-10-05 19:56:33 +08:00
|
|
|
obj-$(CONFIG_ADC) += adc/
|
2016-09-23 23:01:23 +08:00
|
|
|
obj-$(CONFIG_NET_L2_ETHERNET) += ethernet/
|
2016-05-09 17:26:52 +08:00
|
|
|
obj-$(CONFIG_SLIP) += slip/
|
2016-06-15 16:46:10 +08:00
|
|
|
obj-$(CONFIG_IEEE802154) += 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/
|
2016-04-23 21:46:12 +08:00
|
|
|
obj-$(CONFIG_AIO_COMPARATOR) += 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/
|
2016-06-15 04:16:13 +08:00
|
|
|
obj-$(CONFIG_DMA) += dma/
|
2016-06-14 20:23:39 +08:00
|
|
|
obj-$(CONFIG_USB) += usb/
|
2016-07-20 05:20:25 +08:00
|
|
|
obj-$(CONFIG_CRYPTO) += crypto/
|
2017-03-30 17:54:29 +08:00
|
|
|
obj-y += crc/
|