[U-Boot] [PATCH 2/2] global_data: Remove comment of reserved arch-specific GD flags

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Fri Aug 16 15:05:05 UTC 2019


Stefan Roese <sr at denx.de> schrieb am Fr., 16. Aug. 2019, 14:45:

> With the removal of the x86 specific GD flags, there are no arch-
> specific GD flags any more. Let's remove the comment about reserving the
> upper 16 bits for arch-specific flags in the common header. This gives
> us more flexibility with the usage of the GD flags.
>
> As a matter of fact, we are already using more than 16 bits for common
> GD flags (with the addition of GD_FLG_WDT_READY).
>
> 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>
>

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

---
>  include/asm-generic/global_data.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/asm-generic/global_data.h
> b/include/asm-generic/global_data.h
> index 5372d5d8cd..7587ba2ee5 100644
> --- a/include/asm-generic/global_data.h
> +++ b/include/asm-generic/global_data.h
> @@ -150,7 +150,7 @@ typedef struct global_data {
>  #endif
>
>  /*
> - * Global Data Flags - the top 16 bits are reserved for arch-specific
> flags
> + * Global Data Flags
>   */
>  #define GD_FLG_RELOC           0x00001 /* Code was relocated to RAM
>  */
>  #define GD_FLG_DEVINIT         0x00002 /* Devices have been initialized
>  */
> --
> 2.22.1
>
>


More information about the U-Boot mailing list