Skip to content
Snippets Groups Projects
Commit 8aeafb54 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

dm: pinctrl: Allow enabling full pinctrl in SPL/TPL


At present these options cannot be enabled for SPL/TPL, but this can be
useful in some cases. Add Kconfig options to allow it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 1653b6a4
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,13 @@ config SPL_PINCTRL
This option is an SPL-variant of the PINCTRL option.
See the help of PINCTRL for details.
config TPL_PINCTRL
bool "Support pin controllers in TPL"
depends on TPL && TPL_DM
help
This option is an TPL variant of the PINCTRL option.
See the help of PINCTRL for details.
config SPL_PINCTRL_FULL
bool "Support full pin controllers in SPL"
depends on SPL_PINCTRL && SPL_OF_CONTROL
......@@ -91,6 +98,13 @@ config SPL_PINCTRL_FULL
This option is an SPL-variant of the PINCTRL_FULL option.
See the help of PINCTRL_FULL for details.
config TPL_PINCTRL_FULL
bool "Support full pin controllers in TPL"
depends on TPL_PINCTRL && TPL_OF_CONTROL
help
This option is an TPL-variant of the PINCTRL_FULL option.
See the help of PINCTRL_FULL for details.
config SPL_PINCTRL_GENERIC
bool "Support generic pin controllers in SPL"
depends on SPL_PINCTRL_FULL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment