mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
pinctrl: rockchip: allow to build for TPL
A later commit will make use of the pinctrl driver in TPL so let's add the ability to build the Rockchip pinctrl driver in TPL. Reviewed-by: Paul Kocialkowski <paulk@sys-base.io> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
0bf38a8aa2
commit
5bc65f5cab
2 changed files with 15 additions and 0 deletions
|
@ -127,6 +127,14 @@ config SPL_PINCTRL_GENERIC
|
|||
This option is an SPL-variant of the PINCTRL_GENERIC option.
|
||||
See the help of PINCTRL_GENERIC for details.
|
||||
|
||||
config TPL_PINCTRL_GENERIC
|
||||
bool "Support generic pin controllers in TPL"
|
||||
depends on TPL_PINCTRL_FULL
|
||||
default y
|
||||
help
|
||||
This option is a TPL-variant of the PINCTRL_GENERIC option.
|
||||
See the help of PINCTRL_GENERIC for details.
|
||||
|
||||
config SPL_PINMUX
|
||||
bool "Support pin multiplexing controllers in SPL"
|
||||
depends on SPL_PINCTRL_GENERIC
|
||||
|
|
|
@ -14,4 +14,11 @@ config SPL_PINCTRL_ROCKCHIP
|
|||
help
|
||||
This option is an SPL-variant of the PINCTRL_ROCKCHIP option.
|
||||
|
||||
config TPL_PINCTRL_ROCKCHIP
|
||||
bool "Support Rockchip pin controllers in TPL"
|
||||
depends on ARCH_ROCKCHIP && TPL_PINCTRL_GENERIC
|
||||
default y
|
||||
help
|
||||
This option is a TPL-variant of the PINCTRL_ROCKCHIP option.
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue