summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_law.h
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-01-23 16:31:05 -0600
committerJon Loeliger <jdl@freescale.com>2008-01-24 12:12:51 -0600
commitddcebcb638715a6278da93b553d5016f99823816 (patch)
tree3bee1d9c2d7c38ab14b7cec2439f5ae9e489ae74 /include/asm-ppc/fsl_law.h
parent9cd32426f26a0567bb61f339edd83c6a2ce9bfc3 (diff)
downloadu-boot-imx-ddcebcb638715a6278da93b553d5016f99823816.zip
u-boot-imx-ddcebcb638715a6278da93b553d5016f99823816.tar.gz
u-boot-imx-ddcebcb638715a6278da93b553d5016f99823816.tar.bz2
86xx: Add print_laws function to fsl_law.c
This can be used for debug, and will be used by board code to help implement reginfo. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'include/asm-ppc/fsl_law.h')
-rw-r--r--include/asm-ppc/fsl_law.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/fsl_law.h b/include/asm-ppc/fsl_law.h
index 7cb8840..23bd505 100644
--- a/include/asm-ppc/fsl_law.h
+++ b/include/asm-ppc/fsl_law.h
@@ -73,6 +73,7 @@ struct law_entry {
extern void set_law(u8 idx, phys_addr_t addr, enum law_size sz, enum law_trgt_if id);
extern void disable_law(u8 idx);
extern void init_laws(void);
+extern void print_laws(void);
/* define in board code */
extern struct law_entry law_table[];