uboot-mediatek: fix factory/reset button
authorDaniel Golle <daniel@makrotopia.org>
Thu, 20 Apr 2023 10:31:49 +0000 (11:31 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 20 Apr 2023 10:40:24 +0000 (11:40 +0100)
commit42eeb22450f2c3225fa79a75c0ba881ac6809a77
tree20f204dc26c371e25a2f921582eb78a518bc75b5
parent9f2ede5551cfc41b21ab447aa5938ec161ae6481
uboot-mediatek: fix factory/reset button

U-Boot commit ea6fdc13595 ("dm: button: add support for linux_code in
button-gpio.c driver") makes it mandatory to specify linux,code for all
buttons. As that broke handling of the reset button in U-Boot with the
update to U-Boot 2023.04, add linux,code for all butons.

Reported-by: @DragonBluep
Fixes: 50f7c5af4a ("uboot-mediatek: update to v2023.04")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
13 files changed:
package/boot/uboot-mediatek/patches/301-mt7622-generic-reset-button-ignore-env.patch
package/boot/uboot-mediatek/patches/302-mt7623-generic-reset-button-ignore-env.patch
package/boot/uboot-mediatek/patches/303-mt7986-generic-reset-button-ignore-env.patch
package/boot/uboot-mediatek/patches/400-update-bpir2-defconfig.patch
package/boot/uboot-mediatek/patches/401-update-u7623-defconfig.patch
package/boot/uboot-mediatek/patches/402-update-bananapi-bpi-r64-device-tree.patch
package/boot/uboot-mediatek/patches/403-add-bananapi_bpi-r64-snand.patch
package/boot/uboot-mediatek/patches/405-dts-mt7623n-bpi-r2-fix-leds.patch
package/boot/uboot-mediatek/patches/406-dts-mt7623n-bpi-r2-uart0-force-highspeed.patch
package/boot/uboot-mediatek/patches/410-add-linksys-e8450.patch
package/boot/uboot-mediatek/patches/412-add-ubnt-unifi-6-lr.patch
package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch
package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch