mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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>
This commit is contained in:
parent
c31cf40096
commit
d901d76eca
@ -646,9 +646,6 @@ static void board_ev1_init(void)
|
|||||||
/* board dependent setup after realloc */
|
/* board dependent setup after realloc */
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
|
|
||||||
gpio_hog_probe_all();
|
|
||||||
|
|
||||||
board_key_check();
|
board_key_check();
|
||||||
|
|
||||||
if (board_is_ev1())
|
if (board_is_ev1())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user