-
- Downloads
spl: Pass spl_image as a parameter to load_image() methods
Rather than having a global variable, pass the spl_image as a parameter. This avoids BSS use, and makes it clearer what the function is actually doing. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
Showing
- arch/arm/mach-sunxi/board.c 2 additions, 1 deletionarch/arm/mach-sunxi/board.c
- arch/arm/mach-uniphier/boot-mode/spl_board.c 5 additions, 4 deletionsarch/arm/mach-uniphier/boot-mode/spl_board.c
- arch/sandbox/cpu/spl.c 2 additions, 1 deletionarch/sandbox/cpu/spl.c
- common/spl/spl.c 4 additions, 3 deletionscommon/spl/spl.c
- common/spl/spl_mmc.c 30 additions, 24 deletionscommon/spl/spl_mmc.c
- common/spl/spl_nand.c 19 additions, 14 deletionscommon/spl/spl_nand.c
- common/spl/spl_net.c 9 additions, 6 deletionscommon/spl/spl_net.c
- common/spl/spl_nor.c 9 additions, 8 deletionscommon/spl/spl_nor.c
- common/spl/spl_onenand.c 4 additions, 3 deletionscommon/spl/spl_onenand.c
- common/spl/spl_sata.c 2 additions, 1 deletioncommon/spl/spl_sata.c
- common/spl/spl_spi.c 10 additions, 8 deletionscommon/spl/spl_spi.c
- common/spl/spl_ubi.c 4 additions, 3 deletionscommon/spl/spl_ubi.c
- common/spl/spl_usb.c 2 additions, 1 deletioncommon/spl/spl_usb.c
- common/spl/spl_ymodem.c 5 additions, 4 deletionscommon/spl/spl_ymodem.c
- include/spl.h 3 additions, 1 deletioninclude/spl.h
Loading
Please register or sign in to comment