[U-Boot] [PATCH 1/5] powerpc/85xx: fix definition of MAS register macros

Kumar Gala kumar.gala at freescale.com
Tue Nov 8 15:31:44 CET 2011


On Oct 31, 2011, at 1:30 PM, Timur Tabi wrote:

> Some of the MAS register macros do not protect the parameter with
> parentheses, which could cause wrong values if the parameter includes
> operators.
> 
> Also fix the definition of TSIZE_TO_BYTES() so that it actually uses
> the parameter.  This hasn't caused any problems to date because the
> parameter was always been 'tsize'.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/include/asm/mmu.h |   10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)

applied to 85xx

- k



More information about the U-Boot mailing list