-
- Downloads
Stop passing around bootmem_base value.
For the calls to boot_relocate_fdt(), boot_get_cmdline(), and
boot_get_kbd(), the value of bootmem_base is always obtained by
calling getenv_bootm_low(). Since the value always comes from the
same source, the calling signature for those functions can be
simplified by making them call getenv_bootm_low() directly.
Signed-off-by:
Grant Likely <grant.likely@linaro.org>
Showing
- arch/arm/lib/bootm.c 1 addition, 2 deletionsarch/arm/lib/bootm.c
- arch/m68k/lib/bootm.c 2 additions, 5 deletionsarch/m68k/lib/bootm.c
- arch/powerpc/lib/bootm.c 3 additions, 6 deletionsarch/powerpc/lib/bootm.c
- common/cmd_bootm.c 1 addition, 2 deletionscommon/cmd_bootm.c
- common/image.c 9 additions, 16 deletionscommon/image.c
- include/image.h 3 additions, 5 deletionsinclude/image.h
Loading
Please register or sign in to comment