[PATCH v2] gpio: Enable hogging support in SPL

Simon Glass sjg at chromium.org
Mon Feb 7 21:22:21 CET 2022


Hi Eddie,

On Mon, 7 Feb 2022 at 07:23, 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>
> ---
>  common/spl/spl.c           |  4 ++++
>  drivers/gpio/Kconfig       | 10 ++++++++++
>  drivers/gpio/gpio-uclass.c | 10 ++++++----
>  3 files changed, 20 insertions(+), 4 deletions(-)

Please add a change log. Also it seems to be using #if which is best
avoided if possible.

Regards,
SImon


More information about the U-Boot mailing list