[U-Boot] [PATCH 8/9] board: cm_fx6: use PRIx64 macros for printing ram size

Simon Glass sjg at chromium.org
Thu Aug 2 20:36:19 UTC 2018


On 30 July 2018 at 19:42, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
> 2018-07-26 22:59 GMT+09:00 Philipp Tomsich
> <philipp.tomsich at theobroma-systems.com>:
>> With the recent changes of the underlying types for the ram size, we
>> need to adjust the formatting.  Use PRIx64 to print the (now) u64
>> field.
>>
>> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
>> ---
>
>
> As I commented in 3/9,
> using PRIx64 is wrong.
>

I'm happy enough if we can more to using fixed types (long int =
32-bit, long long = 64-bit). But is anyone actually working on this?

For now this is standard C and seems good enough to me.

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


More information about the U-Boot mailing list