Re: [PATCH 1/6] Update MEM_SUPPORT_64BIT_DATA to be always defined

2020-07-08 Thread Tom Rini
On Tue, Jun 02, 2020 at 07:26:44PM -0600, Simon Glass wrote: > Define this macro always so we don't need the preprocessor to check it. > Convert the users to #if instead of #ifdef. > > Note that '#if MEM_SUPPORT_64BIT_DATA' does not give an error if the > macro is not define. It just assumes zero

Re: [PATCH 1/6] Update MEM_SUPPORT_64BIT_DATA to be always defined

2020-06-02 Thread Stefan Roese
On 03.06.20 03:26, Simon Glass wrote: Define this macro always so we don't need the preprocessor to check it. Convert the users to #if instead of #ifdef. Note that '#if MEM_SUPPORT_64BIT_DATA' does not give an error if the macro is not define. It just assumes zero. Signed-off-by: Simon Glass

[PATCH 1/6] Update MEM_SUPPORT_64BIT_DATA to be always defined

2020-06-02 Thread Simon Glass
Define this macro always so we don't need the preprocessor to check it. Convert the users to #if instead of #ifdef. Note that '#if MEM_SUPPORT_64BIT_DATA' does not give an error if the macro is not define. It just assumes zero. Signed-off-by: Simon Glass --- cmd/mem.c | 54