Changeset bdf8fa76 in rtems


Ignore:
Timestamp:
Nov 13, 2014, 9:12:32 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
45a63ee
Parents:
234d5c4
git-author:
Sebastian Huber <sebastian.huber@…> (11/13/14 09:12:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:20)
Message:

bsp/xilinx-zynq: Add zync_clock_cpu_1x()

Location:
c/src/lib/libbsp/arm/xilinx-zynq
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/xilinx-zynq/configure.ac

    r234d5c4 rbdf8fa76  
    3434RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[*],[50000000UL])
    3535RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_UART],[Zynq UART clock frequency in Hz])
     36
     37RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[xilinx_zynq_zc702*],[111111111U])
     38RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[xilinx_zynq_zedboard*],[111111111U])
     39RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_CPU_1X],[*],[111111111U])
     40RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_CPU_1X],[Zynq cpu_1x clock frequency in Hz])
    3641
    3742USE_FAST_IDLE=0
  • c/src/lib/libbsp/arm/xilinx-zynq/include/bsp.h

    r234d5c4 rbdf8fa76  
    66
    77/*
    8  * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
     8 * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
    99 *
    1010 *  embedded brains GmbH
     
    6868BSP_START_TEXT_SECTION void zynq_setup_mmu_and_cache(void);
    6969
     70uint32_t zynq_clock_cpu_1x(void);
     71
    7072/** @} */
    7173
  • c/src/lib/libbsp/arm/xilinx-zynq/startup/bspstart.c

    r234d5c4 rbdf8fa76  
    11/*
    2  * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    1818#include <bsp/irq-generic.h>
    1919
     20__attribute__ ((weak)) uint32_t zynq_clock_cpu_1x(void)
     21{
     22  return ZYNQ_CLOCK_CPU_1X;
     23}
     24
    2025void bsp_start(void)
    2126{
Note: See TracChangeset for help on using the changeset viewer.