Changeset 4a99c57 in mainline


Ignore:
Timestamp:
2014-08-23T23:16:59Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e190e640
Parents:
4cb938b
Message:

According to the PowerPC PRG, section 1.20, DEC uses the same frequency
as TB, so use timebase-frequency for DEC rather than clock-frequency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/ppc32.c

    r4cb938b r4a99c57  
    112112                panic("Could not find first cpu.");     
    113113
    114         freq_prop = ofw_tree_getprop(cpu_node, "clock-frequency");
     114        freq_prop = ofw_tree_getprop(cpu_node, "timebase-frequency");
    115115        if (!freq_prop)
    116116                panic("Could not get frequency property.");
Note: See TracChangeset for help on using the changeset viewer.