summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_law.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-10 16:16:02 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-06-11 01:53:09 -0500
commitba04f7010958e88a8910f2a123fee53fdc72e013 (patch)
tree73d8ef2f836c87e4d91fc7333915981e8588742b /include/asm-ppc/fsl_law.h
parent859a86a25c569d3665ff413d1d923394b8a961f3 (diff)
downloadu-boot-imx-ba04f7010958e88a8910f2a123fee53fdc72e013.zip
u-boot-imx-ba04f7010958e88a8910f2a123fee53fdc72e013.tar.gz
u-boot-imx-ba04f7010958e88a8910f2a123fee53fdc72e013.tar.bz2
FSL LAW: Add new interface to use the last free LAW
LAWs have the concept of priority so its useful to be able to allocate the lowest (highest number) priority. We will end up using this with the new DDR code. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
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 6c445a4..227bf83 100644
--- a/include/asm-ppc/fsl_law.h
+++ b/include/asm-ppc/fsl_law.h
@@ -74,6 +74,7 @@ struct law_entry {
extern void set_law(u8 idx, phys_addr_t addr, enum law_size sz, enum law_trgt_if id);
extern int set_next_law(phys_addr_t addr, enum law_size sz, enum law_trgt_if id);
+extern int set_last_law(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);