Dear Wolfgang Denk,
> Dear Reinhard Meyer,
> 
> In message <4d3fdb14.6060...@emk-elektronik.de> you wrote:
>>
>> I heard rumors that the SZ_* defines are going to be outphased.
> 
> I's on my personal hate list, indeed.
> 
>> If so, new submissions should not use them anymore, right?
> 
> Right.

OK, I can understand that for having a define for each of the 64 possible values
(1<<0) .. (1<<63) can be annoying.

Will the preffered methods be
xx << 10 for KiB
xx << 20 for MiB
xx << 30 for GiB and so on?

Or might we have a few macros like

#define KiB(x) ((x) << 10)
#define MiB(x) ((x) << 20) and so on?

That would reduce all to about 6 defines.

Best Regards,
Reinhard
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to