summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-18bsp/altera-cyclone-v: Make FDT support optionalSebastian Huber1-0/+3
2018-12-21bsps/arm: Add ARMv7-AR disable data cacheSebastian Huber4-0/+4
Close #3667.
2018-11-07bsp/realview-pbx-a9: Fix printk() supportSebastian Huber1-0/+1
Avoid dependencies on the Termios support in case only printk() is used by the application.
2018-10-24bsp/imx: Adjust workspace according to device treeSebastian Huber1-1/+0
2018-10-10build: Remove local.amSebastian Huber21-21/+0
2018-09-27bsp/imx: Add imx_ccm_sdhci_hz()Sebastian Huber1-0/+2
Update #3525.
2018-06-27Rework initialization and interrupt stack supportSebastian Huber4-22/+2
Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
2018-06-15arm: Simplify CPU counter supportSebastian Huber19-19/+0
Use the standard ARMv7-M systick module for the ARMv7-M CPU counter instead of DWT counter since the DWT counter is affected by power saving states. Use an inline function for _CPU_Counter_difference() for all ARM BSPs. Update #3456.
2018-06-15Add _CPU_Counter_frequency()Sebastian Huber11-0/+11
Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
2018-05-09smdk2410: Move define of CPU_S3C2410 to bspopts.hJoel Sherrill1-2/+5
Updates #3425.
2018-04-26bsps: Move documentation, etc. files to bspsSebastian Huber31-1485/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsps/arm: Remove unused filesSebastian Huber13-17990/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/beagle: Move source files to bspsSebastian Huber5-1621/+4
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/gumstix: Move fb.c to bspsSebastian Huber2-240/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/lm3s69xx: Move ssi.c to bspsSebastian Huber2-171/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/lpc176x: Move source files to bspsSebastian Huber13-2426/+13
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/lpc24xx: Move source files to bspsSebastian Huber10-1963/+9
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/lpc32xx: Move source files to bspsSebastian Huber12-1239/+11
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/raspberrypi: Move source files to bspsSebastian Huber7-1591/+4
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/smdk2410: Move smc.c to bspsSebastian Huber2-411/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-25bsp/tms570: Move cpucounterread.c to bspsSebastian Huber2-63/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-cp15-set-ttb-entries.c to bspsSebastian Huber10-98/+9
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-cp15-set-exception-handler.c to bspsSebastian Huber9-64/+8
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-a9mpcore-smp.c to bspsSebastian Huber5-74/+4
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-pl050.c to bspsSebastian Huber2-117/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-pl011.c to bspsSebastian Huber2-92/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-pl111-fb.c to bspsSebastian Huber3-278/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-generic-timer-clock-config.c to bspsSebastian Huber2-203/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move arm-a9mpcore-clock-config.c to bspsSebastian Huber4-215/+3
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move armv7m-cpucounter.c to bspsSebastian Huber2-54/+1
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Move bspreset.c to bspsSebastian Huber5-42/+4
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps/arm: Remove unused shared/comm/uart.cSebastian Huber1-565/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps/arm: Move bsp_memory_management_initialize()Sebastian Huber2-30/+0
This function is only used by the raspberrypi BSP. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-24bsps: Remove unmaintained times filesSebastian Huber4-583/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move RTC drivers to bspsSebastian Huber10-1307/+5
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move legacy network drivers to bspsSebastian Huber18-6919/+9
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move interrupt controller support to bspsSebastian Huber39-2309/+30
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move SPI drivers to bspsSebastian Huber8-1920/+5
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move I2C drivers to bspsSebastian Huber23-3582/+13
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps/arm: Remove unused stm32f* filesSebastian Huber311-416553/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsp/tms570: Move more start to bspsSebastian Huber16-3510/+15
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsp/atsam: Move libraries to bspsSebastian Huber79-21900/+52
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsp/altera-cyclone-v: Move hwlib to bspsSebastian Huber12-19191/+10
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move make/custom/* files to bspsSebastian Huber98-1101/+0
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Remove AC_CONFIG_SRCDIR()Sebastian Huber21-21/+0
This AC_CONFIG_SRCDIR() is just a sanity check in this insane build system. Since all content of c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it makes no sense to keep it. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move benchmark timer to bspsSebastian Huber15-966/+7
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move startup files to bspsSebastian Huber197-11435/+179
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move start files to bspsSebastian Huber27-1454/+20
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move console drivers to bspsSebastian Huber62-13143/+57
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber30-1448/+24
This patch is a part of the BSP source reorganization. Update #3285.