mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
d90a5a30de
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>
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
obj-$(CONFIG_$(SPL_)DM) += core/
|
|
obj-$(CONFIG_$(SPL_)CLK) += clk/
|
|
obj-$(CONFIG_$(SPL_)LED) += led/
|
|
obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/
|
|
obj-$(CONFIG_$(SPL_)RAM) += ram/
|
|
|
|
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
|
|
|
|
obj-$(CONFIG_DM_DEMO) += demo/
|
|
obj-$(CONFIG_BIOSEMU) += bios_emulator/
|
|
obj-y += block/
|
|
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
|
|
obj-$(CONFIG_CPU) += cpu/
|
|
obj-y += crypto/
|
|
obj-$(CONFIG_FPGA) += fpga/
|
|
obj-y += hwmon/
|
|
obj-y += misc/
|
|
obj-y += pcmcia/
|
|
obj-y += dfu/
|
|
obj-y += rtc/
|
|
obj-y += sound/
|
|
obj-y += tpm/
|
|
obj-y += twserial/
|
|
obj-y += video/
|
|
obj-y += watchdog/
|
|
obj-$(CONFIG_QE) += qe/
|
|
obj-$(CONFIG_U_QE) += qe/
|
|
obj-y += memory/
|
|
obj-y += pwm/
|
|
obj-y += input/
|
|
# SOC specific infrastructure drivers.
|
|
obj-y += soc/
|
|
obj-y += thermal/
|
|
|
|
endif
|