]> git.sur5r.net Git - u-boot/commit
ARMv8: get new GD address from gd->new_gd directly
authorzijun_hu <zijun_hu@htc.com>
Fri, 22 Sep 2017 06:39:13 +0000 (14:39 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
commit01a835998935b78c31e80227358ac11212d60878
tree9dcb150319ba00dcbc78b954af4570573de0824f
parent0d3aaa35b87573c229d65bc79050ab13f39d8ec2
ARMv8: get new GD address from gd->new_gd directly

the new GD address is calculated via board data BD currently
it require the new GD area locates below BD tightly, so a strict
constraint is imposed on memory layout which maybe make special
platform unpleasant.

fix it by getting new GD address from gd->new_gd directly.

Signed-off-by: zijun_hu <zijun_hu@htc.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/crt0_64.S
lib/asm-offsets.c