]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Fix compilation warnings for arm64
authorMichal Simek <michal.simek@xilinx.com>
Wed, 27 Apr 2016 14:07:20 +0000 (16:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 22 Jul 2016 12:03:54 +0000 (14:03 +0200)
commit1eefe14f66c982bf7145e9d3b57fafd1f17fe12f
tree019612e2ae8c5b71cb181b120db98752946565bf
parent1d405e207bb176c937d44f9a5f87e268022c2416
spl: Fix compilation warnings for arm64

Make code 64bit aware.

Warnings:
+../arch/arm/lib/spl.c: In function ‘jump_to_image_linux’:
+../arch/arm/lib/spl.c:63:3: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
+../common/spl/spl_fat.c: In function ‘spl_load_image_fat’:
+../common/spl/spl_fat.c:91:33: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/spl.c
common/spl/spl_fat.c