]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootz: Avoid use of #ifdef
authorSimon Glass <sjg@chromium.org>
Sat, 16 Dec 2023 03:14:17 +0000 (20:14 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 21:07:52 +0000 (16:07 -0500)
commit31fda96bb62445c0b190cc499184dc497f7f8fdd
tree990949e2506c78a5d21d6ebc6b548e41670d4c1f
parent0c96b6817f22b7a3d3e7892d21430a1ce9cc0c83
bootz: Avoid use of #ifdef

Use the compiler to get the set of states, instead of the preprocessor.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/bootz.c