Changeset 707ecbe in rtems


Ignore:
Timestamp:
Oct 7, 2015, 11:53:15 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
bc820946
Parents:
01531fb6
Message:

bsp/qoriq: Add BMan and QMan Portals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c

    r01531fb6 r707ecbe  
    7272}
    7373
     74#define ENTRY_DEV_CACHED(b, s) { \
     75        .begin = (uint32_t) b, \
     76        .size = (uint32_t) s, \
     77        .mas2 = ENTRY_RW_MAS2, \
     78        .mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW, \
     79        .mas7 = QORIQ_MMU_DEVICE_MAS7 \
     80}
     81
    7482static const entry DATA config [] = {
    7583        #if defined(QORIQ_INTERCOM_AREA_BEGIN) && defined(QORIQ_INTERCOM_AREA_SIZE)
     
    96104        ENTRY_RW(bsp_section_work_begin, bsp_section_work_size),
    97105        ENTRY_RW(bsp_section_stack_begin, bsp_section_stack_size),
     106#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
     107        /* BMan Portals */
     108        ENTRY_DEV_CACHED(0xf4000000, 0x01000000),
     109        ENTRY_DEV(0xf5000000, 0x01000000),
     110        /* QMan Portals */
     111        ENTRY_DEV_CACHED(0xf6000000, 0x01000000),
     112        ENTRY_DEV(0xf7000000, 0x01000000),
     113#endif
    98114        ENTRY_DEV(&qoriq, sizeof(qoriq))
    99115};
Note: See TracChangeset for help on using the changeset viewer.