[U-Boot] [PATCH v4 3/4] Combine bootm_find_<thing> functions together

Simon Glass sjg at chromium.org
Fri May 22 05:47:56 CEST 2015


On 21 May 2015 at 07:52, 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>
> ---
>
> Changes in v4: None
> Changes in v3: None
>
> 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