On Mon, 7 Feb 2022 at 16:09, Eddie James <eaja...@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 <eaja...@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 <s...@chromium.org>

Reply via email to