Changeset 7d8dade in rtems


Ignore:
Timestamp:
Sep 5, 2008, 1:23:39 PM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
18039f10
Parents:
5c6d518
Message:

derive timebase clicks from bus frequency

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/ChangeLog

    r5c6d518 r7d8dade  
    1 2008-09-05      Ralf Corsépius <ralf.corsepius@rtems.org>
     12008-09-05      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/bspstart.c: Derive time base clicks from bus frequency.
     4
     508-09-05        Ralf Corsépius <ralf.corsepius@rtems.org>
    26
    37        * console/console.c: Convert to "bool".
  • c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c

    r5c6d518 r7d8dade  
    149149#ifdef HAS_UBOOT
    150150  BSP_bus_frequency = mpc83xx_uboot_board_info.bi_busfreq;
    151   bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_intfreq / 8000000;
     151  bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_busfreq / 4000000;
    152152#else /* HAS_UBOOT */
    153153  BSP_bus_frequency = BSP_CLKIN_FRQ * BSP_SYSPLL_MF / BSP_SYSPLL_CKID;
Note: See TracChangeset for help on using the changeset viewer.