Changeset e916b125 in rtems


Ignore:
Timestamp:
Jun 21, 2013, 3:17:28 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1df348b
Parents:
0110491
git-author:
Sebastian Huber <sebastian.huber@…> (06/21/13 15:17:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/24/13 08:54:01)
Message:

bsp/virtex: Use shared clock driver

Location:
c/src/lib/libbsp/powerpc/virtex
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/virtex/Makefile.am

    r0110491 re916b125  
    6868libbsp_a_SOURCES += irq/irq_init.c
    6969
     70# clock
     71libbsp_a_SOURCES += ../shared/clock/clock.c
     72
    7073if HAS_NETWORKING
    7174network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     
    8588    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    8689    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
    87     ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
    88     ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel
     90    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel
    8991
    9092if HAS_NETWORKING
  • c/src/lib/libbsp/powerpc/virtex/include/bsp.h

    r0110491 re916b125  
    7979#define RTEMS_BSP_NETWORK_DRIVER_ATTACH xilTemac_driver_attach
    8080
    81 #define BSP_PPC403_CLOCK_HOOK_EXCEPTION ASM_BOOKE_DEC_VECTOR
    82 
    8381#endif /* ASM */
    8482
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    r0110491 re916b125  
    7171 *  Driver configuration parameters
    7272 */
    73 uint32_t   bsp_clicks_per_usec;
     73uint32_t bsp_time_base_frequency = XPAR_CPU_PPC405_CORE_CLOCK_FREQ_HZ;
    7474
    7575/*
     
    8787  get_ppc_cpu_type();
    8888  get_ppc_cpu_revision();
    89 
    90   /*
    91    *  initialize the device driver parameters
    92    */
    93 
    94   /* timebase register ticks/microsecond */
    95   bsp_clicks_per_usec = (250000000 / 1000000);
    9689
    9790  /*
Note: See TracChangeset for help on using the changeset viewer.