[U-Boot] [PATCH V6 04/10] mpc85xx: tlb.c cleanups

Kumar Gala kumar.gala at freescale.com
Thu Jul 1 05:19:16 CEST 2010


On Jun 17, 2010, at 11:37 AM, Becky Bruce wrote:

> Extract the operation to read a tlb into a function - we will need
> this later to print out the tlbs, and there's no point in duplicating
> the code.  Create a TSIZE_TO_BYTES macro to deal with the conversion
> from the MAS field to an actual size instead of duplicating this in code.
> There are a few misc other minor cleanups.
> 
> Signed-off-by: Becky Bruce <beckyb at kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc85xx/tlb.c |   50 +++++++++++++++++++--------------------
> arch/powerpc/include/asm/mmu.h |    1 +
> 2 files changed, 25 insertions(+), 26 deletions(-)

applied to 85xx

- k



More information about the U-Boot mailing list