Message ID | 20191206213936.v6.12.Ic522e2fdd0158fb0830a2323b43c4ff5005cdf6d@changeid |
---|---|
State | Accepted |
Commit | 8aeafb545427b7e0aaecb2bf7bb98eb45eb56658 |
Delegated to: | Bin Meng |
Headers | show |
Series | x86: Add initial support for apollolake | expand |
On Sat, Dec 7, 2019 at 12:46 PM Simon Glass <sjg@chromium.org> wrote: > > 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: Simon Glass <sjg@chromium.org> > --- > > Changes in v6: > - Split out Kconfig change to new patch to enable full pinctrl in SPL/TPL > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/pinctrl/Kconfig | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
On Sun, Dec 8, 2019 at 10:04 AM Bin Meng <bmeng.cn@gmail.com> wrote: > > On Sat, Dec 7, 2019 at 12:46 PM Simon Glass <sjg@chromium.org> wrote: > > > > 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: Simon Glass <sjg@chromium.org> > > --- > > > > Changes in v6: > > - Split out Kconfig change to new patch to enable full pinctrl in SPL/TPL > > > > Changes in v5: None > > Changes in v4: None > > Changes in v3: None > > Changes in v2: None > > > > drivers/pinctrl/Kconfig | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > > > Reviewed-by: Bin Meng <bmeng.cn@gmail.com> applied to u-boot-x86/next, thanks!
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index eadcfd6652..449f614eb2 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -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
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: Simon Glass <sjg@chromium.org> --- Changes in v6: - Split out Kconfig change to new patch to enable full pinctrl in SPL/TPL Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/pinctrl/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+)