diff options
author | Tom Rini <trini@konsulko.com> | 2022-04-10 11:19:14 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-10 11:19:14 -0400 |
commit | 22b7d140fa17a15e85b87cd7258fa4ff190a11a3 (patch) | |
tree | c8eb4bb3e20292dc879416ff5b9a5108b8730d04 /common/spl/spl.c | |
parent | d46e86d25c2a504b3e2e4ab17d70b2f0be440f34 (diff) | |
parent | c170fe0a77738df1344a805acfe53133e5d15e43 (diff) |
Merge branch '2022-04-08-gpio-updates'
- Add PCA957X GPIO support, enable GPIO hogging in SPL, add
gpio_request_by_line_name() for later use and add some pytests for
'gpio'
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index b452d4feeb2..c9750ee1637 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -20,6 +20,7 @@ #include <serial.h> #include <spl.h> #include <asm/global_data.h> +#include <asm-generic/gpio.h> #include <asm/u-boot.h> #include <nand.h> #include <fat.h> @@ -743,6 +744,9 @@ void board_init_r(gd_t *dummy1, ulong dummy2) } } + if (CONFIG_IS_ENABLED(GPIO_HOG)) + gpio_hog_probe_all(); + #if CONFIG_IS_ENABLED(BOARD_INIT) spl_board_init(); #endif |