[U-Boot] [RESEND PATCH v2 1/5] Tegra2: Add macros to calculate bitfield shifts and masks

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Jul 14 18:00:14 CEST 2011


Hi Anton,

Le 13/07/2011 18:47, Anton Staaf a écrit :

> I agree in general that it is preferable to be as explicit as
> possible.  But it is also good to be able to express your intent,
> instead of implementation when possible.  In other words, I would
> rather be explicit about my intent, than the particular
> implementation.

Seems to me that for you, showing intent and implementation are 
necessarily exclusive; however, Wolfgang's examples indeed show 
implementation, but they show intent as well, at least for me they do.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list