summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-03-12 10:46:05 +0100
committerTom Rini <trini@konsulko.com>2018-03-19 16:14:20 -0400
commit0e373c0ade8c1d634af5178dcd1444871d3e1824 (patch)
tree6c57357572871c1224ec352e0f3aae2f3c5150d2 /common
parent81260e3331d52e08c3f4709043c931a3fdd62095 (diff)
downloadu-boot-0e373c0ade8c1d634af5178dcd1444871d3e1824.tar.gz
u-boot-0e373c0ade8c1d634af5178dcd1444871d3e1824.tar.xz
u-boot-0e373c0ade8c1d634af5178dcd1444871d3e1824.zip
spl: add SPL_RESET_SUPPORT
Add option to include RESET driver and uclass in SPL. That can be useful to handle IP reset with same driver in U-Boot and in SPL. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 9609fceea5..b9b9e0f3a0 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -568,6 +568,15 @@ config SPL_POST_MEM_SUPPORT
performed before booting. This enables the drivers in post/drivers
as part of an SPL build.
+config SPL_RESET_SUPPORT
+ bool "Support reset drivers"
+ depends on SPL
+ help
+ Enable support for reset control in SPL.
+ That can be useful in SPL to handle IP reset in driver, as in U-Boot,
+ by using the generic reset API provided by driver model.
+ This enables the drivers in drivers/reset as part of an SPL build.
+
config SPL_POWER_SUPPORT
bool "Support power drivers"
help