uboot/arch/arm
Paul Kocialkowski 60c7c30aa0 omap-common: Common boot code OMAP3 support and cleanup
This introduces OMAP3 support for the common omap boot code, as well as a
major cleanup of the common omap boot code.

First, the omap_boot_parameters structure becomes platform-specific, since its
definition differs a bit across omap platforms. The offsets are removed as well
since it is U-Boot's coding style to use structures for mapping such kind of
data (in the sense that it is similar to registers). It is correct to assume
that romcode structure encoding is the same as U-Boot, given the description
of these structures in the TRMs.

The original address provided by the bootrom is passed to the U-Boot binary
instead of a duplicate of the structure stored in global data. This allows to
have only the relevant (boot device and mode) information stored in global data.
It is also expected that the address where the bootrom stores that information
is not overridden by the U-Boot SPL or U-Boot.

The save_omap_boot_params is expected to handle all special cases where the data
provided by the bootrom cannot be used as-is, so that spl_boot_device and
spl_boot_mode only return the data from global data.

All of this is only relevant when the U-Boot SPL is used. In cases it is not,
save_boot_params should fallback to its weak (or board-specific) definition.
save_omap_boot_params should not be called in that context either.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2015-07-27 15:02:03 -04:00
..
cpu omap-common: Common boot code OMAP3 support and cleanup 2015-07-27 15:02:03 -04:00
dts sunxi: ga10h: Enable both otg and regular usb host controllers 2015-07-25 11:22:55 +02:00
imx-common imx: mx6 correct is_soc_rev usage 2015-06-27 18:16:31 +02:00
include omap-common: Common boot code OMAP3 support and cleanup 2015-07-27 15:02:03 -04:00
lib arm: Add ENTRY/ENDPROC to private libgcc functions 2015-07-07 11:39:22 +02:00
mach-at91 ARM: at91: remove non-generic boards 2015-05-13 13:01:25 +02:00
mach-bcm283x Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
mach-davinci arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-keystone keystone2: add wfi in to the core_spin loop 2015-07-27 15:01:57 -04:00
mach-kirkwood arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-mvebu arm: mvebu: Add SPL SDIO/MMC boot support 2015-07-24 09:45:30 +02:00
mach-nomadik arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-orion5x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-socfpga arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-tegra Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
mach-uniphier ARM: UniPhier: add PH1-sLD3 SoC support 2015-07-23 23:42:22 +09:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mach-zynq zynq: Rename struct clk_ops to zynq_clk_ops 2015-07-21 17:39:29 -06:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
Kconfig sunxi: musb: Use device-model for musb host mode 2015-07-25 11:22:55 +02:00
Kconfig.debug
Makefile ARM: socfpga: move SoC sources to mach-socfpga 2015-05-07 05:21:12 +02:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00