[PATCH v2 1/3] global_data.h: convert GD_FLG_* to enum

Simon Glass sjg at chromium.org
Tue Sep 22 20:49:04 CEST 2020


On Sun, 20 Sep 2020 at 02:04, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Sphinx documentation is only available for enums not for #defines.
> Anyway it is better to keep related definitions in an enum.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
>         enum gd_flags must not be exposed to assembler code
> ---
>  include/asm-generic/global_data.h | 106 +++++++++++++++++++++++-------
>  1 file changed, 84 insertions(+), 22 deletions(-)

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


More information about the U-Boot mailing list