From 3dc23c7c3093171d72da37cdefd82a81a5f613f5 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Thu, 15 Dec 2011 10:22:07 -0500 Subject: fsl_lbc: add printout of LCRR and LBCR to local bus regs It can be handy to have these in the output when trying to debug odd behaviour. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc/cpu') diff --git a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c index 587576b..023ac9a 100644 --- a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +++ b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c @@ -28,6 +28,8 @@ void print_lbc_regs(void) printf("BR%d\t0x%08X\tOR%d\t0x%08X\n", i, get_lbc_br(i), i, get_lbc_or(i)); } + printf("LBCR\t0x%08X\tLCRR\t0x%08X\n", + get_lbc_lbcr(), get_lbc_lcrr()); } void init_early_memctl_regs(void) -- cgit v1.1