summaryrefslogtreecommitdiffstats
path: root/sys/arm/annapurna
Commit message (Collapse)AuthorAgeFilesLines
* Use the modern spelling of ofw_bus_node_is_compatible in sys/arm.andrew2017-09-061-1/+1
| | | | | | Sponsored by: ABT Systems Ltd (cherry picked from commit 7168ae84d82220caac0bb5f5f5d68ccc4e20915b)
* MFC r306262, r306267, r310021: (needed to avoid conflicts on later merges)ian2017-03-012-18/+0
| | | | | | | | | | Remove bus_dma_get_range and bus_dma_get_range_nb on armv6. We only need this on a few earlier arm SoCs. Restrict where we need to define fdt_fixup_table to just PowerPC and Marvell. Add the missing void to function signatures in much of the arm code.
* Move arm's devmap to some generic place, so it can be usedbr2016-04-261-2/+2
| | | | | | | | | by other architectures. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6091 Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machineandrew2016-04-151-1/+1
| | | | | | | independent code that needs to know about INTRNG such as PCI drivers. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
* Build ofw_cpu.c on all ARM configs using FDT. As we mve towards using theandrew2016-02-281-1/+0
| | | | | | Linux dts files these are more likely to have cpu nodes we can attach to. Sponsored by: ABT Systems Ltd
* Almost all copies of platform_mp_init_secondary just calledandrew2016-02-261-7/+0
| | | | | | | | | intr_pic_init_secondary. Replace them with a direct call. On BCM2836 and ARMADA XP we need to add this function, but it can be empty. Reviewed by: ian, imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5460
* Remove platform_mp_probe as it's almost identical on most ARM SoCs, andandrew2016-02-261-6/+0
| | | | | | | | | | slightly wrong on the others. We should just check if mp_ncpus is set to more than one CPU as we may wish to run on a single core even when SMP is available. Reviewed by: ian Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5458
* Remove platform_ipi_send, it's an unneeded as all implementations areandrew2016-02-251-7/+0
| | | | | | identical. Sponsored by: ABT Systems Ltd
* Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms.skra2016-02-221-2/+0
| | | | | | | Only L2 PIPT cache is supported for __ARM_ARCH >= 6. In fact, this is just a pure proclamation as this option is used only in armv4 specific files now.
* As <machine/pmap.h> is included from <vm/pmap.h>, there is no need toskra2016-02-221-1/+0
| | | | | | | include it explicitly when <vm/pmap.h> is already included. Reviewed by: alc, kib Differential Revision: https://reviews.freebsd.org/D5373
* Stop defining fdt_pic_table when building for ARM_INTRNG.andrew2016-02-111-0/+2
|
* Remove all remaining references to old and not more used structskra2016-02-021-1/+1
| | | | | pmap_devmap, pmap_devmap_bootstrap() and pmap_devmap[]. It was replaced in r257660.
* [intrng] Migrate the intrng code from sys/arm/arm to sys/kern/subr_intr.c.adrian2015-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ci20 port (by kan@) is going to reuse almost all of the intrng code since the SoC in question looks suspiciously like someone took an ARM SoC design and replaced the ARM core with a MIPS core. * migrate out the code; * rename ARM_ -> INTR_; * rename arm_ -> intr_; * move the interrupt flush routine from intr.c / intrng.c into arm/machdep_intr.c - removing the code duplication and removing the ARM specific bits from here. Thanks to the Star Wars: The Force Awakens premiere line for allowing me a couple hours of quiet time to finish the universe builds. Tested: * make universe TODO: * The structure definitions in subr_intr.c still includes machine/intr.h which requires one duplicates all of the intrng definitions in the platform code (which kan has done, and I think we don't have to.) Instead I should break out the generic things (function declarations, common intr structures, etc) into a separate header. * Kan has requested I make the PIC based IPI stuff optional.
* Move more bus_space_* files to be built by files.arm. This leaves theandrew2015-11-211-3/+0
| | | | | | | definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt platforms. Sponsored by: ABT Systems Ltd
* Makeoption ARM_LITLE_ENDIAN does nothing. Remove it since it isn'timp2015-11-201-2/+0
| | | | | consistently used. It was a carry over from NetBSD that FreeBSD doesn't use.
* Remove bus_space_asm_generic.S from the per-SoC files.* files, it's alreadyandrew2015-11-201-1/+0
| | | | | | in files.arm. Sponsored by: ABT Systems Ltd
* Stop setting {KERN,}PHYSADDR on armv6, it's unneeded.andrew2015-11-201-3/+0
| | | | Sponsored by: ABT Systems Ltd
* Since r289279 bufinit() uses mp_ncpus, but some architectures set thistijl2015-11-081-4/+2
| | | | | | | variable during mp_start() which is too late. Move this to mp_setmaxid() where other architectures set it and move x86 assertions to MI code. Reviewed by: kib (x86 part)
* Include "opt_platform.h" early so that the FDT option is visible as needed.ian2015-10-181-0/+2
|
* Rename arm_init_secondary_ic() -> arm_pic_init_secondary(). The latter isian2015-10-181-1/+1
| | | | | | the name the function will have when the new ARM_INTRNG code is integrated, and doing this rename first will make it easier to toggle the new interrupt handling code on/off with a config option for debugging.
* Remove obsolete vendor code from Alpine platform supportzbb2015-07-3016-13941/+0
| | | | | | | | | | | | | This is a clean-up patch from a serie delivering support for Annapurna Labs Alpine PoC. The HAL files have already been added to sys/contrib/alpine-hal so there is no need for them in the platform directory. This patch removes obsolete files. Reviewed by: andrew Obtained from: Semihalf Sponsored by: Annapurna Labs Differential Revision: https://reviews.freebsd.org/D3248
* More tr -d '\r' t make config happy andbz2015-05-162-39/+39
| | | | some re-alignment whitespace changes.
* Introduce support for the Alpine PoC from Annapurna Labszbb2015-05-1521-0/+14621
The Alpine Platform-On-Chip offers multicore processing (quad ARM Cortex-A15), 1/10Gb Ethernet, SATA 3, PCI-E 3, DMA engines, Virtualization, Advanced Power Management and other. This code drop involves basic platform support including: SMP, IRQs, SerDes, SATA. As of now it is missing the PCIe support. Part of the functionality is provided by the low-level code (HAL) delivered by the chip vendor (Annapurna Labs) and is a subject to change in the future (is planned to be moved to sys/contrib directory). The review log for this commit is available here: https://reviews.freebsd.org/D2340 Reviewed by: andrew, ian, imp Obtained from: Semihalf Sponsored by: Annapurna Labs
OpenPOWER on IntegriCloud