]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit908ebc0c1e6c31935e6346661574dde46178c51f
tree942489e06757d49be99105200d0cb69fbe00f074
parenta10e6575257a86f929be36863263d67339cbc5b7
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