]> git.dujemihanovic.xyz Git - u-boot.git/commit
menu: Use a switch statement
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 14:52:25 +0000 (08:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 16 Jan 2023 19:14:11 +0000 (14:14 -0500)
commit86cc3c5215fc6e3c2cb77ee162c22ad91dbfaff5
treeca29c6c8479815a5140e91dc273ed3b698bf4909
parentd0ca98dbd99c2534c9e96e4c226e52ab80f2248f
menu: Use a switch statement

Convert the long line of if() statements to a switch() since this makes
better use of the C language.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/menu.c