[PATCH v3] gpio: Enable hogging support in SPL

Simon Glass sjg at chromium.org
Fri Feb 11 16:05:52 CET 2022


On Mon, 7 Feb 2022 at 16:09, Eddie James <eajames at linux.ibm.com> wrote:
>
> Use the CONFIG macros to conditionally build the GPIO hogging support in
> either the SPL or U-Boot, or both, depending on the configuration. Also
> call the GPIO hog probe function in the common SPL board initialization
> as an equivalent to adding it to the U-Boot init sequence functions.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> ---
> Changes since v2:
>  - change #if to if() in gpio_post_bind
>
>  Changes since v1:
>  - remove #if guards around gpio include
>  - change #if to if() in spl board_init_r
>
>  common/spl/spl.c           |  4 ++++
>  drivers/gpio/Kconfig       | 10 ++++++++++
>  drivers/gpio/gpio-uclass.c |  8 ++++----
>  3 files changed, 18 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list