summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2021-09-01 12:51:42 +0300
committerPatrice Chotard <patrice.chotard@foss.st.com>2021-10-08 09:46:02 +0300
commitd901d76eca773ebbbdbbfc54ba0b40912a909cf0 (patch)
tree644d61eb9334223cf28c3ba275d55426bc50c714 /board
parentc31cf40096f9187d2f11e4ed4a102b9dd3ac98c2 (diff)
downloadu-boot-d901d76eca773ebbbdbbfc54ba0b40912a909cf0.tar.xz
board: stm32mp1: Remove gpio_hog_probe_all() from board
DM_GPIO_HOG flag has been replaced by GPIO_HOG flag since a while in commit 49b10cb49262 ("gpio: fixes for gpio-hog support"). And furthermore, gpio_hog_probe_all() is already called in board_r.c. So gpio_hog_probe() can be removed from stm32mp1.c. Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'board')
-rw-r--r--board/st/stm32mp1/stm32mp1.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 1bceb41494..28485e6123 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -646,9 +646,6 @@ static void board_ev1_init(void)
/* board dependent setup after realloc */
int board_init(void)
{
- if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
- gpio_hog_probe_all();
-
board_key_check();
if (board_is_ev1())