summaryrefslogtreecommitdiffstats
path: root/include/soc/fsl/fsl_qbman.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc/fsl/fsl_qbman.h')
-rw-r--r--include/soc/fsl/fsl_qbman.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/include/soc/fsl/fsl_qbman.h b/include/soc/fsl/fsl_qbman.h
index 4687eb9bb1..1caaf4808d 100644
--- a/include/soc/fsl/fsl_qbman.h
+++ b/include/soc/fsl/fsl_qbman.h
@@ -5,23 +5,9 @@
#ifndef __FSL_QBMAN_H__
#define __FSL_QBMAN_H__
-void fdt_fixup_qportals(void *blob);
-void fdt_fixup_bportals(void *blob);
-void inhibit_portals(void __iomem *addr, int max_portals,
- int arch_max_portals, int portal_cinh_size);
-void setup_qbman_portals(void);
-struct ccsr_qman {
-#ifdef CONFIG_SYS_FSL_QMAN_V3
+struct ccsr_qman_v3 {
u8 res0[0x200];
-#else
- struct {
- u32 qcsp_lio_cfg; /* 0x0 - SW Portal n LIO cfg */
- u32 qcsp_io_cfg; /* 0x4 - SW Portal n IO cfg */
- u32 res;
- u32 qcsp_dd_cfg; /* 0xc - SW Portal Dynamic Debug cfg */
- } qcsp[32];
-#endif
/* Not actually reserved, but irrelevant to u-boot */
u8 res[0xbf8 - 0x200];
u32 ip_rev_1;
@@ -46,14 +32,12 @@ struct ccsr_qman {
u32 ci_rlm_cfg; /* Initiator Read Latency Monitor Cfg */
u32 ci_rlm_avg; /* Initiator Read Latency Monitor Avg */
u8 res7[0x2e8];
-#ifdef CONFIG_SYS_FSL_QMAN_V3
struct {
u32 qcsp_lio_cfg; /* 0x0 - SW Portal n LIO cfg */
u32 qcsp_io_cfg; /* 0x4 - SW Portal n IO cfg */
u32 res;
u32 qcsp_dd_cfg; /* 0xc - SW Portal n Dynamic Debug cfg*/
} qcsp[50];
-#endif
};
struct ccsr_bman {