diff options
author | Chunhe Lan <Chunhe.Lan@freescale.com> | 2014-09-12 14:47:09 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-14 11:12:14 -0800 |
commit | ab06b236f76cfa42f264ee161be190b3e479298f (patch) | |
tree | 2adc913e66d4c8b1857406d6a8f4142293da5acd /board/freescale/t4rdb/law.c | |
parent | a53dd530013bba81ad6ba87a661ff19b12977c23 (diff) |
powerpc/t4rdb: Add support of CPLD
This support of CPLD includes
- Files and register definitions
- Command to switch alternate bank
- Command to switch default bank
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t4rdb/law.c')
-rw-r--r-- | board/freescale/t4rdb/law.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/t4rdb/law.c b/board/freescale/t4rdb/law.c index 1f5876885c..39818fc4f1 100644 --- a/board/freescale/t4rdb/law.c +++ b/board/freescale/t4rdb/law.c @@ -16,6 +16,9 @@ struct law_entry law_table[] = { #ifdef CONFIG_SYS_QMAN_MEM_PHYS SET_LAW(CONFIG_SYS_QMAN_MEM_PHYS, LAW_SIZE_32M, LAW_TRGT_IF_QMAN), #endif +#ifdef CONFIG_SYS_CPLD_BASE_PHYS + SET_LAW(CONFIG_SYS_CPLD_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_IFC), +#endif #ifdef CONFIG_SYS_DCSRBAR_PHYS /* Limit DCSR to 32M to access NPC Trace Buffer */ SET_LAW(CONFIG_SYS_DCSRBAR_PHYS, LAW_SIZE_32M, LAW_TRGT_IF_DCSR), |