Changeset 3e02a47 in rtems


Ignore:
Timestamp:
Jul 2, 2015, 10:04:50 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b171982
Parents:
994d7e1
git-author:
Sebastian Huber <sebastian.huber@…> (07/02/15 10:04:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/08/15 08:07:59)
Message:

bsp/qoriq: Enable branch prediction for T series

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/configure.ac

    r994d7e1 r3e02a47  
    147147RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_SPEFSCR],[initial SPEFSCR value])
    148148
     149RTEMS_BSPOPTS_SET([QORIQ_INITIAL_BUCSR],[qoriq_t*],[0x01400201])
     150RTEMS_BSPOPTS_SET([QORIQ_INITIAL_BUCSR],[*],[])
     151RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_BUCSR],[initial BUCSR value])
     152
    149153RTEMS_BSPOPTS_SET([QORIQ_MMU_DEVICE_MAS7],[qoriq_t*],[0xf])
    150154RTEMS_BSPOPTS_SET([QORIQ_MMU_DEVICE_MAS7],[*],[0x0])
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    r994d7e1 r3e02a47  
    6767        mtmsr   r0
    6868
     69#ifdef QORIQ_INITIAL_BUCSR
     70        /* BUCSR initialization */
     71        LWI     r0, QORIQ_INITIAL_BUCSR
     72        mtspr   FSL_EIS_BUCSR, r0
     73        isync
     74#endif
     75
    6976        /* Initialize start stack */
    7077        LWI     r1, start_stack_end - PPC_MINIMUM_STACK_FRAME_SIZE
     
    211218        mtmsr   r0
    212219
     220#ifdef QORIQ_INITIAL_BUCSR
     221        /* BUCSR initialization */
     222        LWI     r0, QORIQ_INITIAL_BUCSR
     223        mtspr   FSL_EIS_BUCSR, r0
     224        isync
     225#endif
     226
    213227        /* Initialize start stack */
    214228        subi    r1, r1, PPC_MINIMUM_STACK_FRAME_SIZE
Note: See TracChangeset for help on using the changeset viewer.