-
- Downloads
spl: Convert boot_device into a struct
At present some spl_xxx_load_image() functions take a parameter and some don't. Of those that do, most take an integer but one takes a string. Convert this parameter into a struct so that we can pass all functions the same thing. This will allow us to use a common function signature. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
Showing
- arch/arm/mach-sunxi/board.c 1 addition, 1 deletionarch/arm/mach-sunxi/board.c
- arch/arm/mach-uniphier/boot-mode/spl_board.c 1 addition, 1 deletionarch/arm/mach-uniphier/boot-mode/spl_board.c
- arch/sandbox/cpu/spl.c 1 addition, 1 deletionarch/sandbox/cpu/spl.c
- common/spl/spl.c 22 additions, 17 deletionscommon/spl/spl.c
- common/spl/spl_mmc.c 3 additions, 3 deletionscommon/spl/spl_mmc.c
- common/spl/spl_nand.c 1 addition, 1 deletioncommon/spl/spl_nand.c
- common/spl/spl_net.c 3 additions, 3 deletionscommon/spl/spl_net.c
- common/spl/spl_nor.c 1 addition, 1 deletioncommon/spl/spl_nor.c
- common/spl/spl_onenand.c 1 addition, 1 deletioncommon/spl/spl_onenand.c
- common/spl/spl_sata.c 1 addition, 1 deletioncommon/spl/spl_sata.c
- common/spl/spl_ubi.c 3 additions, 3 deletionscommon/spl/spl_ubi.c
- common/spl/spl_usb.c 1 addition, 1 deletioncommon/spl/spl_usb.c
- common/spl/spl_ymodem.c 1 addition, 1 deletioncommon/spl/spl_ymodem.c
- drivers/mtd/spi/spi_spl_load.c 1 addition, 1 deletiondrivers/mtd/spi/spi_spl_load.c
- drivers/mtd/spi/sunxi_spi_spl.c 1 addition, 1 deletiondrivers/mtd/spi/sunxi_spi_spl.c
- include/spl.h 29 additions, 11 deletionsinclude/spl.h
Loading
Please register or sign in to comment