Quentin Schulz 5bc65f5cab 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>
2024-11-11 15:14:14 +08:00

25 lines
622 B
Plaintext

if ARCH_ROCKCHIP
config PINCTRL_ROCKCHIP
bool "Rockchip pin control drivers"
depends on ARCH_ROCKCHIP && PINCTRL_GENERIC
default y
help
Enable support pin control functions for Rockchip SoCs.
config SPL_PINCTRL_ROCKCHIP
bool "Support Rockchip pin controllers in SPL"
depends on ARCH_ROCKCHIP && SPL_PINCTRL_GENERIC
default y
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