forked from Imagelibrary/rtems
bsp/qoriq: Add BMan and QMan portals to memory map
This commit is contained in:
@@ -497,6 +497,11 @@ typedef struct {
|
|||||||
|
|
||||||
extern volatile qoriq_ccsr qoriq;
|
extern volatile qoriq_ccsr qoriq;
|
||||||
|
|
||||||
|
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
|
||||||
|
extern uint8_t qoriq_bman_portal[2][16777216];
|
||||||
|
extern uint8_t qoriq_qman_portal[2][16777216];
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|||||||
@@ -33,5 +33,7 @@ REGION_ALIAS ("REGION_NVRAM", EMPTY);
|
|||||||
bsp_section_robarrier_align = 0x1000000;
|
bsp_section_robarrier_align = 0x1000000;
|
||||||
bsp_section_rwbarrier_align = 0x1000000;
|
bsp_section_rwbarrier_align = 0x1000000;
|
||||||
qoriq = 0xfe000000;
|
qoriq = 0xfe000000;
|
||||||
|
qoriq_bman_portal = 0xf4000000;
|
||||||
|
qoriq_qman_portal = 0xf6000000;
|
||||||
|
|
||||||
INCLUDE linkcmds.base
|
INCLUDE linkcmds.base
|
||||||
|
|||||||
@@ -114,11 +114,11 @@ static const entry DATA config [] = {
|
|||||||
ENTRY_IO(bsp_section_nocachenoload_begin, bsp_section_nocachenoload_size),
|
ENTRY_IO(bsp_section_nocachenoload_begin, bsp_section_nocachenoload_size),
|
||||||
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
|
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
|
||||||
/* BMan Portals */
|
/* BMan Portals */
|
||||||
ENTRY_DEV_CACHED(0xf4000000, 0x01000000),
|
ENTRY_DEV_CACHED(&qoriq_bman_portal[0][0], sizeof(qoriq_bman_portal[0])),
|
||||||
ENTRY_DEV(0xf5000000, 0x01000000),
|
ENTRY_DEV(&qoriq_bman_portal[1][0], sizeof(qoriq_bman_portal[1])),
|
||||||
/* QMan Portals */
|
/* QMan Portals */
|
||||||
ENTRY_DEV_CACHED(0xf6000000, 0x01000000),
|
ENTRY_DEV_CACHED(&qoriq_qman_portal[0][0], sizeof(qoriq_qman_portal[0])),
|
||||||
ENTRY_DEV(0xf7000000, 0x01000000),
|
ENTRY_DEV(&qoriq_qman_portal[1][0], sizeof(qoriq_qman_portal[1])),
|
||||||
#endif
|
#endif
|
||||||
ENTRY_DEV(&qoriq, sizeof(qoriq))
|
ENTRY_DEV(&qoriq, sizeof(qoriq))
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user