Changeset 159ee990 in rtems


Ignore:
Timestamp:
Apr 7, 2015, 2:05:04 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
4ab9296
Parents:
5564b5a
git-author:
Daniel Hellstrom <daniel@…> (04/07/15 14:05:04)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:27)
Message:

leon3,ngmp: cpucounter initialization use proper names

To be merged with "leon3,ngmp: simplify cpucounter initialization"

.. as an affect of previous patch, the next must be updated too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/startup/cpucounter.c

    r5564b5a r159ee990  
    6868
    6969    /* Get and set the frequency */
    70     rtems_counter_initialize_converter(ambapp_freq_get(&ambapp_plb, irqmp_dev));
     70    rtems_counter_initialize_converter(
     71      ambapp_freq_get(&ambapp_plb, LEON3_IrqCtrl_Adev));
    7172  } else if (LEON3_Timer_Regs != NULL) {
    7273      /* Fall back to the first GPTIMER if available */
    73       freq = ambapp_freq_get(&ambapp_plb, timer_dev);
     74      freq = ambapp_freq_get(&ambapp_plb, LEON3_Timer_Adev);
    7475
    7576      gpt_counter_initialize(
Note: See TracChangeset for help on using the changeset viewer.