]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Combine bootm_find_<thing> functions together
authorKarl Apsite <Karl.Apsite@dornerworks.com>
Thu, 21 May 2015 13:52:49 +0000 (09:52 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:08 +0000 (22:47 +0200)
commit5c88ebaaf7c0dd3611aba50c984c536f4e80e23f
tree39e886ed4b0da9041f8a84741a279cf80a8e05fd
parent94348b6e7632371a085b3ba03f0ae63aea5ea13e
Combine bootm_find_<thing> functions together

bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability.

The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for
bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables().
I didn't see any other callers entering a bootm_find<thing>, so removing
the wrapper, and condensing these together hopefully makes the code a
little simpler.

Signed-off-by: Karl Apsite <Karl.Apsite@dornerworks.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/bootm.c
common/cmd_bootm.c
include/bootm.h