]> git.dujemihanovic.xyz Git - u-boot.git/commit
booti: Avoid use of #ifdef
authorSimon Glass <sjg@chromium.org>
Sat, 16 Dec 2023 03:14:16 +0000 (20:14 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 21:07:52 +0000 (16:07 -0500)
commit0c96b6817f22b7a3d3e7892d21430a1ce9cc0c83
tree226439503f35ee29a3d7c025eac404cd1b297500
parente370e3df108800ecfc3b3fe3a7f6ba37498e0289
booti: 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/booti.c