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

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 22 21:06:50 CEST 2020


On 9/22/20 8:49 PM, Simon Glass wrote:
> Hi Heinrich,
>
> On Sat, 19 Sep 2020 at 10:05, 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>
>> ---
>>  include/asm-generic/global_data.h | 104 ++++++++++++++++++++++++------
>>  1 file changed, 83 insertions(+), 21 deletions(-)
>>
>
> Does this work with assembly files?
>
> Regards,
> Simon
>
Hello Simon,

I sent a v2 of the series that #ifdef excludes the enum.

Best regards

Heinrich


More information about the U-Boot mailing list