[U-Boot] [PATCH 1/1] ARMv8: get new GD address from gd->new_gd directly

Simon Glass sjg at chromium.org
Mon Sep 25 02:14:38 UTC 2017


On 22 September 2017 at 00:39, zijun_hu <zijun_hu at zoho.com> wrote:
> From: zijun_hu <zijun_hu at htc.com>
>
> 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 at htc.com>
> ---
>  arch/arm/lib/crt0_64.S | 3 +--
>  lib/asm-offsets.c      | 2 ++
>  2 files changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list