driver: Makefile: support PWM in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3ca97f634acae8c2d9de0b5e003776bccb14cd1b
This commit is contained in:
parent
2d7c904f27
commit
cc668fbca4
|
|
@ -575,6 +575,13 @@ config SPL_POWER_SUPPORT
|
|||
in drivers/power, drivers/power/pmic and drivers/power/regulator
|
||||
as part of an SPL build.
|
||||
|
||||
config SPL_PWM_SUPPORT
|
||||
bool "Support PWM driver"
|
||||
depends on SPL
|
||||
help
|
||||
Enable support for pwm in SPL. This allows use pwm to control
|
||||
somethings, for example control voltage.
|
||||
|
||||
config SPL_RAM_SUPPORT
|
||||
bool "Support booting from RAM"
|
||||
default y if MICROBLAZE || ARCH_SOCFPGA || TEGRA || ARCH_ZYNQ
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ obj-$(CONFIG_ALTERA_SDRAM) += ddr/altera/
|
|||
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/ power/pmic/
|
||||
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/regulator/
|
||||
obj-$(CONFIG_SPL_POWER_SUPPORT) += power/fuel_gauge/
|
||||
obj-$(CONFIG_SPL_PWM_SUPPORT) += pwm/
|
||||
obj-$(CONFIG_SPL_MTD_SUPPORT) += mtd/
|
||||
obj-$(CONFIG_SPL_ONENAND_SUPPORT) += mtd/onenand/
|
||||
obj-$(CONFIG_SPL_UBI) += mtd/ubispl/
|
||||
|
|
|
|||
Loading…
Reference in New Issue