image: Split up boot_get_ramdisk()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:37 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commite4c928792e93ed87abb1633cc3f80c2d0a84dd4a
tree942489e06757d49be99105200d0cb69fbe00f074
parent78f88790e3f7693a1ee9a87cc53d79e959c5633f
image: Split up boot_get_ramdisk()

This function is far too long. Before trying to remove #ifdefs, split out
the code that deals with selecting the ramdisk into a separate function.

Leave the code indented as it was for easier review. The next patch cleans
this up along with checkpatch violations.

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