Changeset 234d5c4 in rtems


Ignore:
Timestamp:
Nov 13, 2014, 9:15:41 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
bdf8fa76
Parents:
8100e71
git-author:
Sebastian Huber <sebastian.huber@…> (11/13/14 09:15:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:20)
Message:

bsp/xilinx-zynq: Rename BSP_ARM_A9MPCORE_UARTCLK

Rename BSP_ARM_A9MPCORE_UARTCLK to ZYNQ_CLOCK_UART since this clock has
nothing to do with the Cortex-A9 MPCore.

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

Legend:

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

    r8100e71 r234d5c4  
    3030RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_PERIPHCLK],[ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz])
    3131
    32 RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_UARTCLK],[xilinx_zynq_zc702*],[50000000UL])
    33 RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_UARTCLK],[xilinx_zynq_zedboard*],[50000000UL])
    34 RTEMS_BSPOPTS_SET([BSP_ARM_A9MPCORE_UARTCLK],[*],[50000000UL])
    35 RTEMS_BSPOPTS_HELP([BSP_ARM_A9MPCORE_UARTCLK],[ARM Cortex-A9 MPCore UART 0 clock frequency in Hz])
     32RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[xilinx_zynq_zc702*],[50000000UL])
     33RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[xilinx_zynq_zedboard*],[50000000UL])
     34RTEMS_BSPOPTS_SET([ZYNQ_CLOCK_UART],[*],[50000000UL])
     35RTEMS_BSPOPTS_HELP([ZYNQ_CLOCK_UART],[Zynq UART clock frequency in Hz])
    3636
    3737USE_FAST_IDLE=0
  • c/src/lib/libbsp/arm/xilinx-zynq/console/zynq-uart.c

    r8100e71 r234d5c4  
    3535uint32_t zynq_uart_input_clock(void)
    3636{
    37   return BSP_ARM_A9MPCORE_UARTCLK;
     37  return ZYNQ_CLOCK_UART;
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.