[U-Boot] [PATCH v2 4/4] Combine bootm_find_<thing> functions together
Simon Glass
sjg at chromium.org
Mon May 18 23:39:29 CEST 2015
On 15 May 2015 at 15:13, Karl Apsite <Karl.Apsite at dornerworks.com> wrote:
> 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 at dornerworks.com>
> ---
>
> common/bootm.c | 53 ++++++++++++++++++-----------------------------------
> common/cmd_bootm.c | 4 ++--
> include/bootm.h | 2 +-
> 3 files changed, 21 insertions(+), 38 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list