| #
7ec03893 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_net_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. We need two variants - one for BOOT_DEVICE_CPGMAC and one fo
spl: Convert spl_net_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. We need two variants - one for BOOT_DEVICE_CPGMAC and one for BOOT_DEVICE_USBETH.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
139db7af |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_spi_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. Also set up the sunxi function.
Signed-off-by: Simon Glass
spl: Convert spl_spi_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. Also set up the sunxi function.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
75571479 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_sata_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_sata_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
56df4635 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_usb_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_usb_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
dd6bf902 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_ymodem_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-b
spl: Convert spl_ymodem_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
548b3ee7 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_nor_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_nor_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
afa6e6c4 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_onenand_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-
spl: Convert spl_onenand_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
d5c2b11c |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_nand_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_nand_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
7d7dd821 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_ubi_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_ubi_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
0fed9c7e |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Convert spl_mmc_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Convert spl_mmc_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
a0a80290 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Add a way to declare an SPL image loader
Add a linker list macro which can be used to declare an SPL image loader. Update spl_load_image() to search available loaders for the correct one.
Sign
spl: Add a way to declare an SPL image loader
Add a linker list macro which can be used to declare an SPL image loader. Update spl_load_image() to search available loaders for the correct one.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
ecdfd69a |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
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 pa
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>
show more ...
|
| #
a807ab33 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Kconfig: Move SPL_DISPLAY_PRINT to Kconfig
Move this option to Kconfig and tidy up existing uses. Also add a function comment to the header file.
Signed-off-by: Simon Glass <sjg@chromium.org>
spl: Kconfig: Move SPL_DISPLAY_PRINT to Kconfig
Move this option to Kconfig and tidy up existing uses. Also add a function comment to the header file.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
f59961e3 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Add function comments to spl_start_uboot()
Add some comments to describe this function.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
|
| #
ca12e65c |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Add a parameter to jump_to_image_linux()
Instead of using the global spl_image variable, pass the required struct in as an argument.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
spl: Add a parameter to jump_to_image_linux()
Instead of using the global spl_image variable, pass the required struct in as an argument.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
71316c1d |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Add a parameter to spl_parse_image_header()
Instead of using the global spl_image variable, pass the required struct in as an argument.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-b
spl: Add a parameter to spl_parse_image_header()
Instead of using the global spl_image variable, pass the required struct in as an argument.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
d95ceb97 |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Add a parameter to spl_set_header_raw_uboot()
Rather than act on the global variable, pass the required struct in as a parameter.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom
spl: Add a parameter to spl_set_header_raw_uboot()
Rather than act on the global variable, pass the required struct in as a parameter.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
e50d76cc |
| 25-Sep-2016 |
Simon Glass <sjg@chromium.org> |
spl: Move spl_board_load_image() into a generic header
At present this is only used on ARM and sandbox, but it is just as applicable to other architectures. Move the function prototype into the gene
spl: Move spl_board_load_image() into a generic header
At present this is only used on ARM and sandbox, but it is just as applicable to other architectures. Move the function prototype into the generic SPL header.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
fe4ba689 |
| 01-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Signed-off-by: Tom Rini <trini@konsulko.com>
Conflicts: include/configs/dra7xx_evm.h
|
| #
52f2acc5 |
| 28-Jul-2016 |
B, Ravi <ravibabu@ti.com> |
spl: dfu: adding dfu support functions for SPL-DFU
Adding support functions to run dfu spl commands.
Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
|
| #
bf55cd4f |
| 12-Jul-2016 |
Ladislav Michl <ladis@linux-mips.org> |
spl: support loading from UBI volumes
Add support for loading from UBI volumes on the top of NAND and OneNAND.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@d
spl: support loading from UBI volumes
Add support for loading from UBI volumes on the top of NAND and OneNAND.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
2b1cdafa |
| 14-May-2016 |
Marek Vasut <marex@denx.de> |
common: Pass the boot device into spl_boot_mode()
The SPL code already knows which boot device it calls the spl_boot_mode() on, so pass that information into the function. This allows the code of sp
common: Pass the boot device into spl_boot_mode()
The SPL code already knows which boot device it calls the spl_boot_mode() on, so pass that information into the function. This allows the code of spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets board_boot_order() correctly alter the behavior of the boot process.
The later one is important, since in certain cases, it is desired that spl_boot_device() return value be overriden using board_boot_order().
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org> [add newly introduced zynq variant] Signed-aff-by: Andreas Bießmann <andreas@biessmann.org>
show more ...
|
| #
dc557e9a |
| 18-Jun-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
| #
eafd5410 |
| 24-May-2016 |
Lokesh Vutla <lokeshvutla@ti.com> |
spl: Allow to load a FIT containing U-Boot from FS
This provides a way to load a FIT containing U-Boot and a selection of device tree files from a File system. Making sure that all the reads and wri
spl: Allow to load a FIT containing U-Boot from FS
This provides a way to load a FIT containing U-Boot and a selection of device tree files from a File system. Making sure that all the reads and writes are aligned to their respective needs.
Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> [trini: Make this still apply with Michal's alignment change for 'fit'] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
ec8fb48c |
| 24-May-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
|