2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-28 18:06:12 +08:00
|
|
|
add_definitions(-D__ZEPHYR_SUPERVISOR__)
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory(console)
|
|
|
|
add_subdirectory(interrupt_controller)
|
|
|
|
|
|
|
|
add_subdirectory_if_kconfig(adc)
|
|
|
|
add_subdirectory_if_kconfig(clock_control)
|
|
|
|
add_subdirectory_if_kconfig(counter)
|
2017-11-16 17:47:58 +08:00
|
|
|
add_subdirectory_if_kconfig(crypto)
|
2017-10-06 14:34:43 +08:00
|
|
|
add_subdirectory_if_kconfig(display)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_if_kconfig(dma)
|
|
|
|
add_subdirectory_if_kconfig(gpio)
|
|
|
|
add_subdirectory_if_kconfig(grove)
|
|
|
|
add_subdirectory_if_kconfig(i2c)
|
2017-11-17 20:47:19 +08:00
|
|
|
add_subdirectory_if_kconfig(i2s)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_if_kconfig(ieee802154)
|
|
|
|
add_subdirectory_if_kconfig(ipm)
|
2017-12-17 18:46:02 +08:00
|
|
|
add_subdirectory_if_kconfig(led)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_if_kconfig(led_strip)
|
2018-08-02 04:01:00 +08:00
|
|
|
add_subdirectory_if_kconfig(modem)
|
uart/ns16550, drivers/pcie: add PCI(e) support
A parallel PCI implementation ("pcie") is added with features for PCIe.
In particular, message-signaled interrupts (MSI) are supported, which
are essential to the use of any non-trivial PCIe device.
The NS16550 UART driver is modified to use pcie.
pcie is a complete replacement for the old PCI support ("pci"). It is
smaller, by an order of magnitude, and cleaner. Both pci and pcie can
(and do) coexist in the same builds, but the intent is to rework any
existing drivers that depend on pci and ultimately remove pci entirely.
This patch is large, but things in mirror are smaller than they appear.
Most of the modified files are configuration-related, and are changed
only slightly to accommodate the modified UART driver.
Deficiencies:
64-bit support is minimal. The code works fine with 64-bit capable
devices, but will not cooperate with MMIO regions (or MSI targets) that
have high bits set. This is not needed on any current boards, and is
unlikely to be needed in the future. Only superficial changes would
be required if we change our minds.
The method specifying PCI endpoints in devicetree is somewhat kludgey.
The "right" way would be to hang PCI devices off a topological tree;
while this would be more aesthetically pleasing, I don't think it's
worth the effort, given our non-standard use of devicetree.
Signed-off-by: Charles E. Youse <charles.youse@intel.com>
2019-04-03 01:06:07 +08:00
|
|
|
add_subdirectory_if_kconfig(pcie)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_if_kconfig(pinmux)
|
|
|
|
add_subdirectory_if_kconfig(pwm)
|
|
|
|
add_subdirectory_if_kconfig(rtc)
|
|
|
|
add_subdirectory_if_kconfig(sensor)
|
|
|
|
add_subdirectory_if_kconfig(spi)
|
|
|
|
add_subdirectory_if_kconfig(usb)
|
|
|
|
add_subdirectory_if_kconfig(watchdog)
|
2017-12-04 20:35:34 +08:00
|
|
|
add_subdirectory_if_kconfig(wifi)
|
2018-05-03 16:48:02 +08:00
|
|
|
add_subdirectory_if_kconfig(can)
|
2018-07-27 00:34:39 +08:00
|
|
|
add_subdirectory_if_kconfig(audio)
|
2018-12-21 18:58:41 +08:00
|
|
|
add_subdirectory_if_kconfig(hwinfo)
|
2019-05-02 13:11:22 +08:00
|
|
|
add_subdirectory_if_kconfig(espi)
|
2019-08-07 22:37:13 +08:00
|
|
|
add_subdirectory_if_kconfig(ps2)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2018-05-23 19:22:20 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_FLASH_HAS_DRIVER_ENABLED flash)
|
2018-05-24 13:03:37 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_SERIAL_HAS_DRIVER serial)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_BT bluetooth)
|
|
|
|
add_subdirectory_ifdef(CONFIG_NETWORKING net)
|
|
|
|
add_subdirectory_ifdef(CONFIG_NET_L2_ETHERNET ethernet)
|
2018-05-24 13:23:35 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_ENTROPY_HAS_DRIVER entropy)
|
2017-10-27 21:43:34 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_SYS_CLOCK_EXISTS timer)
|
2018-11-10 04:30:47 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_NEURAL_NET_ACCEL neural_net)
|
2019-05-27 16:01:49 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_PTP_CLOCK ptp_clock)
|