]> git.baikalelectronics.ru Git - uboot.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)
commit191a8a9f6df29c6babf208d3d5f06c3d1ad924ec
treee2c081865cef9411867a22f9581102b75a362b6f
parent10a4cf0023ea1435b88fdfdb347fea9a06aeef39
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