]> git.baikalelectronics.ru Git - uboot.git/commit
SPL: make struct spl_image 64-bit safe
authorAndre Przywara <andre.przywara@arm.com>
Mon, 2 Jan 2017 11:48:31 +0000 (11:48 +0000)
committerJagan Teki <jagan@openedev.com>
Wed, 4 Jan 2017 15:37:41 +0000 (16:37 +0100)
commitaa323d143729860a70e1d553dd503aeddf8c9117
treee617708dcc4641d4556f842f4ff3df9ac94314ed
parentbce453f008ded17b6dd6c81589e48676653939fd
SPL: make struct spl_image 64-bit safe

Since entry_point and load_addr are addresses, they should be
represented as longs to cover the whole address space and to avoid
warning when compiling the SPL in 64-bit.
Also adjust debug prints to add the 'l' specifier, where needed.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-tegra/spl.c
common/spl/spl.c
common/spl/spl_mmc.c
include/spl.h