diff options
author | yanhong.wang <yanhong.wang@starfivetech.com> | 2022-06-09 05:22:15 +0300 |
---|---|---|
committer | Yanhong Wang <yanhong.wang@linux.starfivetech.com> | 2022-10-18 11:24:37 +0300 |
commit | abd35ca6d33fb5df1f413b5466b315a92fa36f4f (patch) | |
tree | 6c5c4fbd4cefee7966a9a3abec9547a13595a3af | |
parent | 4806c43e7adae907b72eaedeb635fa2c03eef196 (diff) | |
download | u-boot-abd35ca6d33fb5df1f413b5466b315a92fa36f4f.tar.xz |
SPL:reset:starfive-jh7110: support reset in SPL
Update Kconfig to support reset in SPL for StarFive JH7110 SoC.
Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
-rw-r--r-- | drivers/reset/Kconfig | 8 | ||||
-rw-r--r-- | drivers/reset/Makefile | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 7a3c36eccc..0c6bb682f7 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -172,6 +172,14 @@ config RESET_JH7110 Support for reset controller on Starfive JH7110 SoCs. +config SPL_RESET_JH7110 + bool "SPL Reset driver for Starfive JH7110 SoC" + depends on SPL && STARFIVE_JH7110 + default y + help + Support for reset controller on Starfive + JH7110 SoCs in SPL. + config RESET_SIFIVE bool "Reset Driver for SiFive SoC's" depends on DM_RESET && CLK_SIFIVE_PRCI && (TARGET_SIFIVE_UNLEASHED || TARGET_SIFIVE_UNMATCHED) diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile index 02c2812b0b..ba83210e42 100644 --- a/drivers/reset/Makefile +++ b/drivers/reset/Makefile @@ -30,4 +30,4 @@ obj-$(CONFIG_RESET_SYSCON) += reset-syscon.o obj-$(CONFIG_RESET_RASPBERRYPI) += reset-raspberrypi.o obj-$(CONFIG_RESET_SCMI) += reset-scmi.o obj-$(CONFIG_RESET_ZYNQMP) += reset-zynqmp.o -obj-$(CONFIG_RESET_JH7110) += reset-jh7110.o +obj-$(CONFIG_$(SPL_TPL_)RESET_JH7110) += reset-jh7110.o |