Changeset dd863f8 in rtems


Ignore:
Timestamp:
Oct 28, 2015, 12:06:02 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
3abfe7ca
Parents:
9dab6ec
git-author:
Sebastian Huber <sebastian.huber@…> (10/28/15 12:06:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/28/15 12:06:14)
Message:

bsp/qoriq: Add BMan and QMan portals to memory map

Location:
c/src/lib/libbsp/powerpc/qoriq
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/include/qoriq.h

    r9dab6ec rdd863f8  
    498498extern volatile qoriq_ccsr qoriq;
    499499
     500#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
     501extern uint8_t qoriq_bman_portal[2][16777216];
     502extern uint8_t qoriq_qman_portal[2][16777216];
     503#endif
     504
    500505#ifdef __cplusplus
    501506}
  • c/src/lib/libbsp/powerpc/qoriq/startup/linkcmds.qoriq_t2080rdb

    r9dab6ec rdd863f8  
    3434bsp_section_rwbarrier_align = 0x1000000;
    3535qoriq = 0xfe000000;
     36qoriq_bman_portal = 0xf4000000;
     37qoriq_qman_portal = 0xf6000000;
    3638
    3739INCLUDE linkcmds.base
  • c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c

    r9dab6ec rdd863f8  
    115115#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
    116116        /* BMan Portals */
    117         ENTRY_DEV_CACHED(0xf4000000, 0x01000000),
    118         ENTRY_DEV(0xf5000000, 0x01000000),
     117        ENTRY_DEV_CACHED(&qoriq_bman_portal[0][0], sizeof(qoriq_bman_portal[0])),
     118        ENTRY_DEV(&qoriq_bman_portal[1][0], sizeof(qoriq_bman_portal[1])),
    119119        /* QMan Portals */
    120         ENTRY_DEV_CACHED(0xf6000000, 0x01000000),
    121         ENTRY_DEV(0xf7000000, 0x01000000),
     120        ENTRY_DEV_CACHED(&qoriq_qman_portal[0][0], sizeof(qoriq_qman_portal[0])),
     121        ENTRY_DEV(&qoriq_qman_portal[1][0], sizeof(qoriq_qman_portal[1])),
    122122#endif
    123123        ENTRY_DEV(&qoriq, sizeof(qoriq))
Note: See TracChangeset for help on using the changeset viewer.