Changeset 2365c937 in rtems


Ignore:
Timestamp:
Dec 3, 2020, 4:58:26 PM (7 weeks ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
master
Children:
0e779a4
Parents:
74c1c402
git-author:
Kinsey Moore <kinsey.moore@…> (12/03/20 16:58:26)
git-committer:
Joel Sherrill <joel@…> (12/04/20 18:42:06)
Message:

spec: Move zynq-uart into its own object

Currently, zynq-uart code is always built and has some requirements for
BSPs that use it. Instead of making all BSPs satisfy that requirement or
working around it by setting defaults, this moves the zynq-uart code
into its own spec build object so it can be included if needed.

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • bsps/include/dev/serial/zynq-uart.h

    r74c1c402 r2365c937  
    6161#define ZYNQ_UART_DEFAULT_BAUD 115200
    6262
    63 #ifndef ZYNQ_CLOCK_UART
    64 #define ZYNQ_CLOCK_UART 100000000
    65 #endif
    66 
    6763void zynq_uart_initialize(rtems_termios_device_context *base);
    6864
  • spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml

    r74c1c402 r2365c937  
    3333  uid: ../../objirq
    3434- role: build-dependency
     35  uid: ../../objdevserialzynq
     36- role: build-dependency
    3537  uid: ../../optcachedata
    3638- role: build-dependency
  • spec/build/bsps/arm/xilinx-zynq/grp.yml

    r74c1c402 r2365c937  
    5757  uid: ../../objirq
    5858- role: build-dependency
     59  uid: ../../objdevserialzynq
     60- role: build-dependency
    5961  uid: linkcmds
    6062- role: build-dependency
  • spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml

    r74c1c402 r2365c937  
    6969  uid: ../../objirq
    7070- role: build-dependency
     71  uid: ../../objdevserialzynq
     72- role: build-dependency
    7173  uid: ../../opto2
    7274- role: build-dependency
  • spec/build/bsps/obj.yml

    r74c1c402 r2365c937  
    5353  - bsps/include/dev/serial/arm-pl011-regs.h
    5454  - bsps/include/dev/serial/arm-pl011.h
    55   - bsps/include/dev/serial/zynq-uart-regs.h
    56   - bsps/include/dev/serial/zynq-uart.h
    5755- destination: ${BSP_INCLUDEDIR}/rtems/zilog
    5856  source:
     
    9795- bsps/shared/dev/serial/ns16550-context.c
    9896- bsps/shared/dev/serial/serprobe.c
    99 - bsps/shared/dev/serial/zynq-uart.c
    100 - bsps/shared/dev/serial/zynq-uart-polled.c
    10197- bsps/shared/start/bootcard.c
    10298- bsps/shared/rtems-version.c
Note: See TracChangeset for help on using the changeset viewer.