Changeset 2975e71 in rtems


Ignore:
Timestamp:
Aug 8, 2008, 1:51:00 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
89423b9
Parents:
3b14b7ad
Message:

2008-08-08 Sebastian Huber <sebastian.huber@…>

  • startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
Location:
c/src/lib/libbsp/powerpc/gen83xx
Files:
2 edited

Legend:

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

    r3b14b7ad r2975e71  
     12008-08-08      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
     4
    152008-08-01      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c

    r3b14b7ad r2975e71  
    143143#ifdef HAS_UBOOT
    144144        BSP_bus_frequency = mpc83xx_uboot_board_info.bi_busfreq;
     145        bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_intfreq / 4000000;
    145146#else /* HAS_UBOOT */
    146147        BSP_bus_frequency = BSP_CLKIN_FRQ * BSP_SYSPLL_MF / BSP_SYSPLL_CKID;
     148        bsp_clicks_per_usec = BSP_bus_frequency / 1000000;
    147149#endif /* HAS_UBOOT */
    148 
    149         bsp_clicks_per_usec = BSP_bus_frequency / 4000000;
    150150
    151151        /* Initialize exception handler */
Note: See TracChangeset for help on using the changeset viewer.