]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Enable hogging support in SPL
authorEddie James <eajames@linux.ibm.com>
Mon, 7 Feb 2022 23:09:01 +0000 (17:09 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 9 Apr 2022 02:51:48 +0000 (22:51 -0400)
commit1d99e673c752bc7d55aa25b02e050741496f7109
treee2c081865cef9411867a22f9581102b75a362b6f
parent34be6968c3570d8e03fcafcd60c02f315b8f4602
gpio: Enable hogging support in SPL

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@linux.ibm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c
drivers/gpio/Kconfig
drivers/gpio/gpio-uclass.c