From: Tom Rini Date: Thu, 20 Jun 2024 14:46:06 +0000 (-0600) Subject: Merge patch series "boot: fix crash in bootflow menu with EFI BOOTMGR support + typos" X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=81e2b69880566a90e909a7e2c02dff0c39a8c1e5;p=u-boot.git Merge patch series "boot: fix crash in bootflow menu with EFI BOOTMGR support + typos" Quentin Schulz says: bootflow menu currently crashes U-Boot with a NULL pointer dereference because bootflow->dev is NULL for global bootmeths (such as EFI BOOTMGR). Therefore, let's check if the bootflow is associated with a global bootmeth before trying to make it part of the menu. While this makes U-Boot not crash anymore, bootflow menu doesn't work for me (I have never had a happy path with it, but I haven't actually tried it before today :) ) and this was basically just implemented following Simon's suggestion sent over IRC. No clue if this is enough or just a quick band-aid patch. This also fixes typos in multiple places. --- 81e2b69880566a90e909a7e2c02dff0c39a8c1e5