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
|
|
|
|
|
|
|
|
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/
|
|
|
|
obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += ddr/marvell/a38x/
|
|
|
|
obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += ddr/marvell/axp/
|
|
|
|
obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
|
|
|
|
obj-$(CONFIG_SPL_SERIAL_SUPPORT) += serial/
|
|
|
|
obj-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += mtd/spi/
|
|
|
|
obj-$(CONFIG_SPL_SPI_SUPPORT) += spi/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
|
|
|
|
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
|
|
|
|
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
|
|
|
|
obj-$(CONFIG_SPL_NAND_SUPPORT) += mtd/nand/
|
|
|
|
obj-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += misc/
|
|
|
|
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
|
|
|
|
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/
|
|
|
|
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
|
|
|
|
obj-$(CONFIG_SPL_USBETH_SUPPORT) += usb/gadget/
|
|
|
|
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/
|
|
|
|
|
|
|
|
else
|
|
|
|
|
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/
|
|
|
|
obj-y += rtc/
|
|
|
|
obj-y += sound/
|
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/
|
2014-06-07 02:10:49 +00:00
|
|
|
obj-y += memory/
|
2014-07-18 04:07:19 +00:00
|
|
|
obj-y += pwm/
|
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
|
|
|
|
|
|
|
endif
|