[PATCH 2/2] board: dh_stm32mp1: Remove gpio_hog_probe_all() from board
Patrice CHOTARD
patrice.chotard at foss.st.com
Fri Oct 8 08:47:06 CEST 2021
Hi
On 9/3/21 3:02 PM, Marek Vasut wrote:
> On 9/1/21 11:51 AM, Patrice Chotard wrote:
>> 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 at foss.st.com>
>> Cc: Marek Vasut <marex at denx.de>
>> ---
>>
>> board/dhelectronics/dh_stm32mp1/board.c | 3 ---
>> 1 file changed, 3 deletions(-)
>>
>> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c
>> index d7c1857c16..725b438d76 100644
>> --- a/board/dhelectronics/dh_stm32mp1/board.c
>> +++ b/board/dhelectronics/dh_stm32mp1/board.c
>> @@ -593,9 +593,6 @@ int board_init(void)
>> /* address of boot parameters */
>> gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
>> - if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
>> - gpio_hog_probe_all();
>> -
>> board_key_check();
>
> This is likely OK, yes.
Applied on u-boot-stm32 for next
Thanks
Patrice
More information about the U-Boot
mailing list