summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-2511-3427/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* bsp/gen5200: Fix i2c.h and i2cdrv.h installationSebastian Huber2018-01-191-1/+1
| | | | | | Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>. Update #3254.
* powerpc/gen5200/include/bsp.h: Remove unnecessary include of <rtems/rtc.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/gen5200: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* powerpc/gen5200/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* remaining bsp.h: Fix by hand to LIBBSP_@CPU@_@BSP_FAMILY@_BSP_HJoel Sherrill2015-07-161-2/+2
| | | | These files were left after running the script in the previous patch.
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-5/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* bsp/gen5200: Fix warningsSebastian Huber2014-10-101-0/+7
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2111-12/+12
|
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-192-19/+2
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* libbsp tm27.h: Add Doxygen file header to all tm27.hCynthia Rempel2014-01-091-2/+6
|
* bsp/mpc5200: New BSP variant BRS6LSebastian Huber2013-04-231-1/+11
|
* bsp/mpc5200: Add MPC5200_BOARD prefixSebastian Huber2013-04-231-6/+28
|
* bsp/gen5200: Use busy waitSebastian Huber2013-03-281-1/+1
| | | | | The usage of rtems_task_wake_after() is invalid during the driver initialization.
* bsp/gen5200: Use fatal error instead of assertSebastian Huber2013-03-281-1/+3
|
* bsp/gen5200: New ATA driverSebastian Huber2013-02-204-1/+936
| | | | This is a replacement for the ATA task. The performance is much better.
* bsp/gen5200: Add and use mpc5200_fatal()Sebastian Huber2013-02-202-1/+14
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-0/+1
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* Use proper 3 line form of license textJoel Sherrill2012-10-111-2/+3
|
* Revert "Add bspopts.h.in."Gedare Bloom2012-08-061-85/+0
| | | | | | | | | | | | This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
* Remove CVS-Ids.Ralf Corsépius2012-07-193-6/+0
|
* Add bspopts.h.in.Ralf Corsépius2012-05-241-0/+85
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* bsp/gen5200: Reflect clocks of new BRS5L hardwareSebastian Huber2012-03-091-0/+4
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-06-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-172-16/+13
| | | | | | | | | | | | | | | | | | | | | * Makefile.am: Added custom memcpy(). Update for network sources. * configure.ac: Enable interrupt driven Termios for all BSPs. * ide/pcmcia_ide.c: Disable broken DMA support. * include/bsp.h: Fixed NEED_LOW_LEVEL_INIT define. Set default console baud to 115200. * include/irq.h, irq/irq.c: Fixed interrupt handling to avoid the following problems: 1. multiple invokation of peripheral interrupt handlers, 2. missing synchronization after mask write and enabling of external exceptions, and 3. logic overhead. * network_5200/network.c: Added MII interface. Fixed controller restart after FIFO errors. Performance improvements. * start/start.S: Fixed ROM startup. Initialize XLB arbiter for all BSPs. * startup/bspstart.c: Special intialization for MPC5200B (B variant). Install standard alignment handler. * startup/cpuinit.c, startup/linkcmds.brs5l, startup/linkcmds.dp2, startup/linkcmds.icecube, startup/linkcmds.pm520_cr825, startup/linkcmds.pm520_ze30: Avoid accesses outside the RAM area.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-4/+4
| | | | | * include/tm27.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c, ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c, gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c, haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h, motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c, mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h, mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h, psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h, psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c, psim/startup/linkcmds, psim/tools/psim-gdb-top.in, psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h, score603e/irq/irq.c, shared/bootloader/bootldr.h, shared/bootloader/em86.c, shared/bootloader/em86real.S, shared/bootloader/exception.S, shared/bootloader/head.S, shared/bootloader/lib.c, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/bootloader/pci.c, shared/console/console.c, shared/console/consoleIo.h, shared/console/inch.c, shared/console/keyboard.h, shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h, shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c, shared/motorola/motorola.h, shared/openpic/openpic.c, shared/openpic/openpic.h, shared/pci/pci.c, shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h: Fix typo where license said found in found in.
* 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-303-145/+26
| | | | | | | | * include/u-boot.h: Removed file. * include/u-boot-config.h: New file. * include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot support. * Makefile.am, preinstall.am: Reflect changes above.
* 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-153-182/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make/custom/dp2.cfg, startup/linkcmds.dp2: New files. * Makefile.am, preinstall.am: Reflect change above. Install <bsp/utility.h>. Install BestComm header files. * configure.ac: Changed BSP options. * include/mpc5200.h: Added module structures and register defines. * bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h, bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h, bestcomm/bestcomm_priv.h, bestcomm/load_task.c, bestcomm/tasksetup_bdtable.c, bestcomm/task_api/bestcomm_cntrl.h: C++ compatibility. Use special heap to manage the SRAM region. Use interrupt extension API. Fixed warnings. * console/console.c: Fixed console registration. Fixed warnings. Added GPS module registration. * ide/pcmcia_ide.h: Fixed clock value macros. * ide/pcmcia_ide.c: Update for BestComm API changes. DP2 specific initialization. Removed zero loop in PIO receive function. * include/bsp.h: Added DP2 variant. Removed obsolete defines. * include/mscan-base.h, mscan/mscan-base.c: Use volatile qualifier. Format. * irq/irq.c: Fixed peripheral interrupt handling. * network_5200/network.c: Update for BestComm API changes. * start/start.S: U-Boot fixes. * startup/cpuinit.c: Enable write-back cache strategy. Added special memory regions. * startup/linkcmds.brs5l: Fixed memory size.
* 2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-04-303-45/+65
| | | | | | | | * include/irq-config.h: Removed file. * Makefile.am, preinstall.am: Reflect change above. Added interrupt support modules. * include/irq.h: Moved defines from 'include/irq-config.h'. * include/mpc5200.h: Added GPIO PIN defines.
* removed warningsThomas Doerfler2010-03-271-2/+2
|
* fix timer support, some reworksThomas Doerfler2010-03-251-27/+7
|
* Whitespace removal.Ralf Corsepius2009-11-291-2/+2
|
* 2009-08-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-241-2/+2
| | | | | * include/bsp.h, startup/bspstart.c: Rename _Thread_Idle_body to bsp_idle_thread.
* 2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-121-1/+1
| | | | | * include/bsp.h, startup/bspstart.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-10-021-113/+0
| | | | | * Makefile.am, preinstall.am: Use shared stub coverhd.h * include/coverhd.h: Removed.
* 2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-10-011-1/+2
| | | | * include/bsp.h: #include <bspopts.h> first.
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-221-4/+0
| | | | | | | | | | | * Makefile.am, configure.ac, console/console.c, include/bsp.h, startup/bspstart.c: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * startup/bspreset.c: New file. * startup/bspclean.c: Removed.
* 2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-201-6/+5
| | | | | | | * Makefile.am, include/bsp.h, network_5200/network.c, start/start.S, startup/bspstart.c, startup/cpuinit.c: Use top level shared bsp_get_work_area() implementation. Augment it to know about U-Boot. * startup/bspgetworkarea.c: Removed.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-21/+1
| | | | * include/bsp.h: Remove unnecessary boilerplate comments.
* 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-181-5/+0
| | | | | * include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this is NOT used anywhere.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-2/+0
| | | | | | | * include/bsp.h, startup/bspclean.c: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub.
* corrected parameters in i2c driver for done signallingThomas Doerfler2008-09-082-7/+20
| | | | updated mscan CAN driver
* Improved parameter checks for bit rate function.Thomas Doerfler2008-09-051-3/+7
|
* update to current PPC exception and memory map structureThomas Doerfler2008-09-033-0/+521
|
* Converted to use sharedThomas Doerfler2008-09-031-27/+40
| | | | exception and interrupt code.
* 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-011-0/+8
| | | | | | * Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot environment variables. * startup/uboot_support.c: New file.
* 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-061-0/+3
| | | | | | * include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c, startup/bspstart.c: Slightly better names for IRQ benchmarking. Make sure the routines are present all the time.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-1/+0
| | | | | | | * bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.