Changeset 6a46d99 in rtems


Ignore:
Timestamp:
Apr 21, 2016, 9:39:28 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c287dc0
Parents:
9c3bae11
git-author:
Sebastian Huber <sebastian.huber@…> (04/21/16 09:39:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/22/16 07:25:10)
Message:

bsp/qoriq: Optionally initialize register HID0

Enable the L2MMU multiple-hit detection on the e6500 core.

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

Legend:

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

    r9c3bae11 r6a46d99  
    149149RTEMS_BSPOPTS_HELP([QORIQ_TLB1_ENTRY_COUNT],[TLB1 entry count])
    150150
     151RTEMS_BSPOPTS_SET([QORIQ_INITIAL_HID0],[qoriq_t*],[0x40000000])
     152RTEMS_BSPOPTS_SET([QORIQ_INITIAL_HID0],[*],[])
     153RTEMS_BSPOPTS_HELP([QORIQ_INITIAL_HID0],[initial HID0 value (EN_L2MMU_MHD is set by default on the T-series)])
     154
    151155RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[qoriq_t*],[0x02002200])
    152156RTEMS_BSPOPTS_SET([QORIQ_INITIAL_MSR],[*],[0x02000200])
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    r9c3bae11 r6a46d99  
    88
    99/*
    10  * Copyright (c) 2010-2015 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2010, 2016 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    196196        mtspr   FSL_EIS_BUCSR, r0
    197197        isync
     198#endif
     199
     200#ifdef QORIQ_INITIAL_HID0
     201        /* HID0 initialization */
     202        LWI     r0, QORIQ_INITIAL_HID0
     203        mtspr   HID0, r0
    198204#endif
    199205
Note: See TracChangeset for help on using the changeset viewer.