Commit Graph

360 Commits

Author SHA1 Message Date
Sebastian Huber
01595a4f32 bsp/imx: Adjust workspace according to device tree 2018-10-24 10:19:14 +02:00
Joel Sherrill
28fb5b71f8 mpc8260ads/start/bspstart.c: Fix unused function warning 2018-10-18 12:05:41 -05:00
Joel Sherrill
c1233a334b qemuppc/start/cmain.c: Cast args to memcpy and bzero to fix warnings 2018-10-18 12:05:41 -05:00
Joel Sherrill
156b77a064 gen5200/mscan/mscan.c: Fix printf() format warning 2018-10-18 12:05:40 -05:00
Joel Sherrill
023bd1d431 or1k/shared/cache/cache.c: Remove unused methods 2018-10-18 12:05:40 -05:00
Joel Sherrill
35eab84294 gdbarmsim/include/bsp.h: Include <sys/stat.h> to fix warning 2018-10-18 12:05:40 -05:00
Sebastian Huber
68799dac67 bsp/atsam: Add const qualifier to AES_SetInput() 2018-10-18 07:23:29 +02:00
Sebastian Huber
143c8d0d94 serial/ns16550: Fix precision clock synthesizer
The precision clock synthesizer support broke the driver on the QorIQ
P1020.  On this device the Alternate Function Register is accessed with
DLAB == 1 instead of the FIFO Control Register (FCR).  Restructure the
code to account for this.
2018-10-17 09:58:14 +02:00
Sebastian Huber
d7c13c8772 bsp/imx7: Add getchark() support 2018-10-17 09:58:14 +02:00
Sebastian Huber
186a0b1dc0 bsps/arm: Recognize .tm_clone_table input section 2018-10-15 10:40:31 +02:00
Pavel Pisa
1822649ced bsp/tms570: Simple fix to resolve macro redefinitions.
closes #3347
2018-10-15 08:44:52 +02:00
Daniel Hellstrom
dc32b6aa08 leon: do not use -mfix-{device} with Clang
Clang do not support -mfix-gr712rc, -mfix-ut700 and -mfix-ut699.
Therefore we adjust the CPU_CFLAGS to remove these when compiling with
Clang. Instead use
  GR712RC:      -mcpu=gr712rc
  GR740:        -mcpu=gr740
  UT699/UT700:  Not currently supported by clang, use LEON3 BSP.
2018-10-09 12:36:41 +02:00
Javier Jalle
6dc0b5f4c5 leon, spwtdp: Initial driver commit 2018-10-09 12:36:41 +02:00
Sebastian Huber
511ef83ce4 bsps/arm: Fix ctor/dtor invocation order
Remove obsolete .ctor and .dtor output sections.
2018-10-09 12:01:27 +02:00
Sebastian Huber
b131cb2aa0 bsp/atsam: Use internal SRAM for stack area 2018-10-04 14:35:00 +02:00
Sebastian Huber
f004b2b8dc Use rtems_task_exit()
Update #3530.
Update #3533.
2018-10-02 10:22:15 +02:00
Sebastian Huber
5cb23f4b88 bsp/atsam: Use binary semaphore for I2C
Remove superfluous sleep before each I2C transfer.  Reset I2C module
after transfer timeouts.

Update #3534.
2018-10-01 09:01:29 +02:00
Sebastian Huber
fca9132aa5 bsp/atsam: Use binary semaphore for SPI
Update #3534.
2018-10-01 09:01:21 +02:00
Sebastian Huber
69a24c3cb0 bsp/imx: Add imx_ccm_sdhci_hz()
Update #3525.
2018-09-27 07:22:41 +02:00
Daniel Hellstrom
9ed109cc7f leon: remove warning missing string.h 2018-09-20 12:48:32 +02:00
Martin Aberg
c2011b474e leon, grspw_pkt: support CCSDS/ISO16 data CRC
When the CCSDS/CCITT CRC-16 and 16-bit ISO-checksum logic is available in
GRSPW2, the DCRCT field is used to determine how to generate the CRC/checksum
code. grspw_hw_sup has been extended with the field ccsds_crc
2018-09-20 12:48:32 +02:00
Daniel Hellstrom
0aae151eba leon,grspw_pkt: protect TX descriptor from bad input (hdrlen) 2018-09-20 12:48:32 +02:00
Martin Aberg
ddc95ab04b leon, l2cache: workaround for scrubber
This is a workaround for a L2CACHE scrubber corner case described in GR740
User's Manual, Version 1.10, section 43.2.30.

The issue affects some version of the L2CACHE. However, since the performance
impact of the workaround is marginal, special device probing logic has been
avoided. In addition, this update does not affect users who enable the L2CACHE
and scrubber before RTEMS is started.
2018-09-20 12:48:32 +02:00
Daniel Hellstrom
56a7540cd8 leon: substitute printf with printk in driver init 2018-09-20 12:48:32 +02:00
Daniel Hellstrom
68a0012470 leon3, ckinit: avoid unsued code warnings when drvmgr is enabled 2018-09-20 12:48:32 +02:00
Daniel Hellstrom
d952d733fe leon3: fix warning when SMP is enabled 2018-09-20 12:48:32 +02:00
Sebastian Huber
b3cf79b9c4 bsp/leon3: Fix typo which breaks the CPU counter
Update #3456.
2018-09-20 07:27:28 +02:00
Hesham Almatary
9cda6f29a7 riscv: Allow platforms with no PLIC to proceed
Spike simulator and QEMU's spike_v1.10 don't have a PLIC
2018-09-17 14:22:17 +02:00
Sebastian Huber
62cb39d7fe bsp/tqm8xx: Remove unused files
Close #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
688e101a65 bsp/tqm8xx: Fix polled vs. interrupt output
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
d22147e072 bsp/tqm8xx: Convert console to new Termios API
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
68920e7f92 bsp/tqm8xx: Move DMA support to channel descriptor
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
53fb03fe3d bsp/tqm8xx: Move rxBuf to channel descriptor
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
7b93d8570e bsp/tqm8xx: Use IRQ extensions API
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
94ea8a8b49 bsp/tqm8xx: Clear sbss section 2018-09-17 08:56:32 +02:00
Sebastian Huber
7916139eab bsp/tqm8xx: Use custom string to uint32_t
Avoid C locale support which is not available at this stage.
2018-09-17 08:56:31 +02:00
Sebastian Huber
cb682532cf network: Use kernel/user space header files
Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.

Simplify cpukit/libnetworking/Makefile.am.

Update #3375.
2018-09-10 10:38:44 +02:00
Sebastian Huber
2f61eb210c bsp/qoriq: Add struct qoriq to allow forward decls 2018-09-06 07:04:35 +02:00
Sebastian Huber
54d87f2e52 bsps/powerpc: Simplify ppc_exc_initialize()
Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.

Update #3459.
2018-09-06 07:04:28 +02:00
Sebastian Huber
9a21fc7383 bsp/mpc55xxevb: Fix format warning
Close #3504.
2018-09-05 07:38:47 +02:00
Sebastian Huber
ccdce9d8f6 libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY
Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY.

Update #3358.
Close #3510.
2018-09-05 07:34:00 +02:00
Sebastian Huber
fad3f79b88 bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack.  The interrupt
stacks are now allocated by the linker.

Update #3459.
2018-09-03 07:03:09 +02:00
Joel Sherrill
66e788547e Remove bsps/sparc64/shared/helenos/boot/generic/string.c 2018-08-29 12:52:12 -05:00
Joel Sherrill
5da159312c psim/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a8d3f10f6f mvme5500/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a5c3bfbc60 uC5282/clock/clock.c: Correct bsp_idle_thread() prototype 2018-08-29 12:52:11 -05:00
Joel Sherrill
34e959fa86 gen68340/include/m340timer.h: Fix not a prototype warnings 2018-08-29 12:52:10 -05:00
Joel Sherrill
76ac42ff9a lpc32xx/include/bsp.h: Resolve set but not used warning 2018-08-29 12:52:10 -05:00
Joel Sherrill
350b07a036 monlib.[ch]: Fix warnings for external vs internal use of .h 2018-08-29 12:52:10 -05:00
Joel Sherrill
60702abaf2 qoriq/include/tm27.h: Fix warnings 2018-08-29 12:52:09 -05:00