]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: zynqmp: Add bootmenu support
authorJohn Vicky Vykuntapu <johnvicky.vykuntapu@amd.com>
Wed, 11 Sep 2024 08:04:13 +0000 (10:04 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 20 Sep 2024 13:33:01 +0000 (15:33 +0200)
commit61bf0fa8663d85c5d4088a9f82c9244181f3adce
tree944c978860f2ad88983804577e46870d4331f19b
parentf6bcd327601277ef3a86d6a5b8d8a73deea20be7
xilinx: zynqmp: Add bootmenu support

Popup the bootmenu for 5 sec with default boot options to CC on AMD CCs and
default to SOM on others.
Users can anytime disable the bootmenu by setting the variable
enable_bootmenu=0 in zynqmp_kria.env or setup it up at run time and save
variables to NV memory.

The patch is also fixing issue created by commit 4c7363068651 ("cmd:
setexpr: fix no matching string in gsub return empty value") which has
changed return value from setexpr command (Before this commit when
matching string wasn't found command return 1 that's why was possible to
use with if).

Signed-off-by: John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/6193d95a9c0f3ae319a900b46d6212f7ab16aba4.1726041851.git.michal.simek@amd.com
board/xilinx/zynqmp/zynqmp_kria.env