summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-02-12 15:34:08 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-02-22 23:25:19 -0600
commit8e29ebabf825ee0c85cb0c93d6aa495cc54811ab (patch)
tree26e13d34ab6885cbacedfb6d376a276bf7200360 /drivers
parentc7977858dcf1f656cbe91ea0dc3cb9139c6a8cc8 (diff)
downloadu-boot-8e29ebabf825ee0c85cb0c93d6aa495cc54811ab.tar.gz
u-boot-8e29ebabf825ee0c85cb0c93d6aa495cc54811ab.tar.xz
u-boot-8e29ebabf825ee0c85cb0c93d6aa495cc54811ab.zip
fsl_law: Fix LAW printing function
We had an extra '0x' in the output of the LAWAR header that would cause output like: LAWBAR11: 0x00000000 LAWAR0x11: 0x80f0001d intead of: LAWBAR11: 0x00000000 LAWAR11: 0x80f0001d Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/fsl_law.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fsl_law.c b/drivers/misc/fsl_law.c
index 63c08bf2ff..031c9748f4 100644
--- a/drivers/misc/fsl_law.c
+++ b/drivers/misc/fsl_law.c
@@ -182,7 +182,7 @@ void print_laws(void)
#else
printf("LAWBAR%02d: 0x%08x", i, in_be32(LAWBAR_ADDR(i)));
#endif
- printf(" LAWAR0x%02d: 0x%08x\n", i, lawar);
+ printf(" LAWAR%02d: 0x%08x\n", i, lawar);
printf("\t(EN: %d TGT: 0x%02x SIZE: ",
(lawar & LAW_EN) ? 1 : 0, (lawar >> 20) & 0xff);
print_size(lawar_size(lawar), ")\n");