[U-Boot-Users] [PATCH 3/4 V2] PPC: Add print_bats() to lib_ppc/bat_rw.c

Scott Wood scottwood at freescale.com
Fri May 9 17:29:09 CEST 2008


On Thu, May 08, 2008 at 07:02:38PM -0500, Becky.bruce at freescale.com wrote:
> +        printf ("\tIBAT0L = 0x%08X ", mfspr (IBAT0L));
> +        printf ("\tIBAT0U = 0x%08X\n", mfspr (IBAT0U));
> +        printf ("\tDBAT0L = 0x%08X ", mfspr (DBAT0L));
> +        printf ("\tDBAT0U = 0x%08X\n", mfspr (DBAT0U));
> +        printf ("\tIBAT1L = 0x%08X ", mfspr (IBAT1L));
> +        printf ("\tIBAT1U = 0x%08X\n", mfspr (IBAT1U));
> +        printf ("\tDBAT1L = 0x%08X ", mfspr (DBAT1L));
> +        printf ("\tDBAT1U = 0x%08X\n", mfspr (DBAT1U));
> +        printf ("\tIBAT2L = 0x%08X ", mfspr (IBAT2L));
> +        printf ("\tIBAT2U = 0x%08X\n", mfspr (IBAT2U));
> +        printf ("\tDBAT2L = 0x%08X ", mfspr (DBAT2L));
> +        printf ("\tDBAT2U = 0x%08X\n", mfspr (DBAT2U));
> +        printf ("\tIBAT3L = 0x%08X ", mfspr (IBAT3L));
> +        printf ("\tIBAT3U = 0x%08X\n", mfspr (IBAT3U));
> +        printf ("\tDBAT3L = 0x%08X ", mfspr (DBAT3L));
> +        printf ("\tDBAT3U = 0x%08X\n", mfspr (DBAT3U));

Tabs, not spaces.

-Scott




More information about the U-Boot mailing list