image: Remove #ifdefs from select_ramdisk()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:38 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commitf33a2c1bd0fb371511a485cac1f182ba50db51be
tree23fde8f2b575d3f30f0abbad548b05276d308703
parente4c928792e93ed87abb1633cc3f80c2d0a84dd4a
image: Remove #ifdefs from select_ramdisk()

Use boolean variables to deal with the strange #ifdef logic of this
function, so we can remove the #ifdefs.

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