[U-Boot] [PATCH 1/2] x86: Remove x86 specific GD flags as they are not referenced at all

Bin Meng bmeng.cn at gmail.com
Fri Aug 16 14:50:47 UTC 2019


On Fri, Aug 16, 2019 at 8:45 PM Stefan Roese <sr at denx.de> wrote:
>
> This patch removes the x86 architecture specific GD flags
> (GD_FLG_COLD_BOOT & GD_FLG_WARM_BOOT), as they are not used. Only
> GD_FLG_COLD_BOOT is referenced in coreboot.c but assigned in start16.S.
> But the coreboot target does not use start16.S at all and boots directly
> from the 32-bit start code.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> ---
>  arch/x86/cpu/coreboot/coreboot.c   | 3 ---
>  arch/x86/cpu/start.S               | 9 +--------
>  arch/x86/cpu/start16.S             | 3 ---
>  arch/x86/include/asm/global_data.h | 6 ------
>  4 files changed, 1 insertion(+), 20 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Tested with U-Boot as coreboot payload, and on Intel MinnowMax
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list