Changeset 93f5adb in rtems


Ignore:
Timestamp:
07/15/15 08:51:12 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
9cff822a
Parents:
e2fcb7d
git-author:
Sebastian Huber <sebastian.huber@…> (07/15/15 08:51:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/15/15 08:52:40)
Message:

powerpc: Do not use the ATB for e500 multilib

The e500v1 has no support for the ATB.

Update #2369.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c

    re2fcb7d r93f5adb  
    9191      / QORIQ_BUS_CLOCK_DIVIDER;
    9292    bsp_clicks_per_usec = BSP_bus_frequency / 8000000;
    93     rtems_counter_initialize_converter(bsp_uboot_board_info.bi_intfreq);
     93    rtems_counter_initialize_converter(
     94      #ifdef __PPC_CPU_E6500__
     95        bsp_uboot_board_info.bi_intfreq
     96      #else
     97        BSP_bus_frequency / 8
     98      #endif
     99    );
    94100  #endif /* HAS_UBOOT */
    95101
  • cpukit/score/cpu/powerpc/rtems/score/cpu.h

    re2fcb7d r93f5adb  
    839839  CPU_Counter_ticks value;
    840840
    841 #if defined(ppc8540) || defined(__PPC_CPU_E6500__)
     841#if defined(__PPC_CPU_E6500__)
    842842  /* Use Alternate Time Base */
    843843  __asm__ volatile( "mfspr %0, 526" : "=r" (value) );
Note: See TracChangeset for help on using the changeset viewer.