[U-Boot] [PATCH] global_data: Move x86 specific GD flags into common flags

Bin Meng bmeng.cn at gmail.com
Thu Aug 15 07:17:18 UTC 2019


On Thu, Aug 15, 2019 at 3:05 PM Stefan Roese <sr at denx.de> wrote:
>
> Currently the upper 16 bits of the GD flags are reserved for
> architecture specific flags. But only x86 uses 2 bits of these 16 bits
> and sprinkling those flags in multiple headers is confusing and does not
> scale.
>
> This patch now moves the x86 flags into the common header and removes
> the comment about the reservation of the upper 16 bits.
>
> 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/include/asm/global_data.h | 6 ------
>  include/asm-generic/global_data.h  | 6 +++++-
>  2 files changed, 5 insertions(+), 7 deletions(-)
>

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


More information about the U-Boot mailing list