]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: st: stmp32mp1: Use BUTTON UCLASS in board_key_check()
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Apr 2024 15:01:56 +0000 (17:01 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 10:05:10 +0000 (12:05 +0200)
commit2430da43cb80a4d97daebe9084adf43746daca17
treea771994cf7696ecc7924769f77ad6af1cc5b4a3f
parent2d48ff59ea6d7978e7e5829e46cd5840dbfaf2bd
board: st: stmp32mp1: Use BUTTON UCLASS in board_key_check()

Instead of using gpio directly to detect key pressed on button
dedicated for fastboot and stm32mprog, make usage of BUTTON UCLASS.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/st/stm32mp1/stm32mp1.c