]> git.baikalelectronics.ru Git - uboot.git/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)
commit97b670c2390d92dab0c1bb24188466c2bbe1ee31
tree9dcb150319ba00dcbc78b954af4570573de0824f
parentaf2a2a88971ca9d947e208991bb6dab0c5ea4b22
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