2015-11-10 01:06:16 +00:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
|
2015-08-11 22:31:45 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)DM) += core/
|
2015-08-11 22:31:47 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)CLK) += clk/
|
2015-08-11 22:31:51 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)LED) += led/
|
pinctrl: add pin control uclass support
This creates a new framework for handling of pin control devices,
i.e. devices that control different aspects of package pins.
This uclass handles pinmuxing and pin configuration; pinmuxing
controls switching among silicon blocks that share certain physical
pins, pin configuration handles electronic properties such as pin-
biasing, load capacitance etc.
This framework can support the same device tree bindings, but if you
do not need full interface support, you can disable some features to
reduce memory foot print. Typically around 1.5KB is necessary to
include full-featured uclass support on ARM board (CONFIG_PINCTRL +
CONFIG_PINCTRL_FULL + CONFIG_PINCTRL_GENERIC + CONFIG_PINCTRL_PINMUX),
for example.
We are often limited on code size for SPL. Besides, we still have
many boards that do not support device tree configuration. The full
pinctrl, which requires OF_CONTROL, does not make sense for those
boards. So, this framework also has a Do-It-Yourself (let's say
simple pinctrl) interface. With CONFIG_PINCTRL_FULL disabled, the
uclass itself provides no systematic mechanism for identifying the
peripheral device, applying pinctrl settings, etc. They must be
done in each low-level driver. In return, you can save much memory
footprint and it might be useful especially for SPL.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-27 03:44:29 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/
|
2015-08-11 22:31:49 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)RAM) += ram/
|
2015-08-11 22:31:45 +00:00
|
|
|
|
2015-08-11 22:31:44 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
|
|
|
2017-01-16 14:03:29 +00:00
|
|
|
obj-$(CONFIG_SPL_CPU_SUPPORT) += cpu/
|
2016-06-10 02:18:44 +00:00
|
|
|
obj-$(CONFIG_SPL_CRYPTO_SUPPORT) += crypto/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/
|
|
|
|
obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/
|
|
|
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/
|
|
|
|
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
|
2015-12-21 12:56:33 +00:00
|
|
|
obj-$(CONFIG_ARMADA_38X) += ddr/marvell/a38x/
|
|
|
|
obj-$(CONFIG_ARMADA_XP) += ddr/marvell/axp/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
|
|
|
|
obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
|
|
|
|
obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
|
2016-08-07 05:53:00 +00:00
|
|
|
obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
|
|
|
|
obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
|
|
|
|
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
|
2016-07-12 18:28:09 +00:00
|
|
|
obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
|
2016-07-12 18:28:12 +00:00
|
|
|
obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_SPL_DMA_SUPPORT) += dma/
|
|
|
|
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
|
|
|
|
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
|
|
|
|
obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
|
2017-01-16 14:03:30 +00:00
|
|
|
obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
|
2017-01-16 14:03:33 +00:00
|
|
|
obj-$(CONFIG_SPL_PCH_SUPPORT) += pch/
|
2017-01-16 14:03:31 +00:00
|
|
|
obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
|
2017-01-16 14:03:32 +00:00
|
|
|
obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
|
2016-11-21 18:58:53 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/
|
|
|
|
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/
|
2016-11-21 18:58:52 +00:00
|
|
|
obj-$(CONFIG_SPL_DFU_SUPPORT) += dfu/
|
2015-08-11 22:31:44 +00:00
|
|
|
obj-$(CONFIG_SPL_WATCHDOG_SUPPORT) += watchdog/
|
|
|
|
obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += usb/host/
|
|
|
|
obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/
|
|
|
|
obj-$(CONFIG_SPL_SATA_SUPPORT) += block/
|
2016-05-01 17:36:13 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/
|
2016-05-01 19:52:28 +00:00
|
|
|
obj-$(CONFIG_SPL_MMC_SUPPORT) += block/
|
2016-09-13 05:18:25 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_TPL_BUILD
|
|
|
|
|
|
|
|
obj-$(CONFIG_TPL_I2C_SUPPORT) += i2c/
|
|
|
|
obj-$(CONFIG_TPL_DRIVERS_MISC_SUPPORT) += misc/ sysreset/
|
|
|
|
obj-$(CONFIG_TPL_MMC_SUPPORT) += mmc/
|
|
|
|
obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/
|
|
|
|
obj-$(CONFIG_TPL_NAND_SUPPORT) += mtd/nand/
|
|
|
|
obj-$(CONFIG_TPL_SERIAL_SUPPORT) += serial/
|
|
|
|
obj-$(CONFIG_TPL_SPI_FLASH_SUPPORT) += mtd/spi/
|
|
|
|
obj-$(CONFIG_TPL_SPI_SUPPORT) += spi/
|
|
|
|
|
|
|
|
endif
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2016-09-13 05:18:25 +00:00
|
|
|
ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2015-10-27 12:08:00 +00:00
|
|
|
obj-y += adc/
|
2014-09-18 06:43:41 +00:00
|
|
|
obj-$(CONFIG_DM_DEMO) += demo/
|
2013-11-11 05:35:51 +00:00
|
|
|
obj-$(CONFIG_BIOSEMU) += bios_emulator/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += block/
|
|
|
|
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
|
2015-04-29 02:25:09 +00:00
|
|
|
obj-$(CONFIG_CPU) += cpu/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += crypto/
|
2013-11-11 05:35:51 +00:00
|
|
|
obj-$(CONFIG_FPGA) += fpga/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += hwmon/
|
|
|
|
obj-y += misc/
|
|
|
|
obj-y += pcmcia/
|
|
|
|
obj-y += dfu/
|
2016-01-19 03:19:17 +00:00
|
|
|
obj-$(CONFIG_X86) += pch/
|
2016-05-23 09:12:05 +00:00
|
|
|
obj-y += phy/marvell/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += rtc/
|
|
|
|
obj-y += sound/
|
2016-03-31 21:12:27 +00:00
|
|
|
obj-y += spmi/
|
2016-08-07 05:53:00 +00:00
|
|
|
obj-y += sysreset/
|
2015-10-09 05:46:34 +00:00
|
|
|
obj-y += timer/
|
2013-10-17 11:38:52 +00:00
|
|
|
obj-y += tpm/
|
|
|
|
obj-y += twserial/
|
|
|
|
obj-y += video/
|
|
|
|
obj-y += watchdog/
|
2013-11-11 05:35:57 +00:00
|
|
|
obj-$(CONFIG_QE) += qe/
|
2014-09-25 05:52:25 +00:00
|
|
|
obj-$(CONFIG_U_QE) += qe/
|
2016-05-13 21:50:29 +00:00
|
|
|
obj-y += mailbox/
|
2014-06-07 02:10:49 +00:00
|
|
|
obj-y += memory/
|
2014-07-18 04:07:19 +00:00
|
|
|
obj-y += pwm/
|
2016-06-17 15:43:58 +00:00
|
|
|
obj-y += reset/
|
2014-09-18 06:43:41 +00:00
|
|
|
obj-y += input/
|
2014-10-22 14:18:21 +00:00
|
|
|
# SOC specific infrastructure drivers.
|
|
|
|
obj-y += soc/
|
2015-09-17 20:42:39 +00:00
|
|
|
obj-$(CONFIG_REMOTEPROC) += remoteproc/
|
2014-11-20 13:14:13 +00:00
|
|
|
obj-y += thermal/
|
2015-08-11 22:31:44 +00:00
|
|
|
|
2016-01-28 10:00:15 +00:00
|
|
|
obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
|
2015-08-11 22:31:44 +00:00
|
|
|
endif
|