summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-25Remove make preinstallChris Johns6-839/+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.
2016-03-29powerpc/gen83xx: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill1-1/+0
warnings
2016-03-27powerpc/gen83xx/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2015-07-16remaining bsp.h: Fix by hand to LIBBSP_@CPU@_@BSP_FAMILY@_BSP_HJoel Sherrill1-2/+2
These files were left after running the script in the previous patch.
2014-10-19powerpc/gen83xx: Fix warningsJoel Sherrill1-1/+10
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns6-6/+6
2013-04-08bsps/powerpc: Use proper typeSebastian Huber1-3/+3
2013-03-14mpc83xx: Add MPC83XX_HAS_NAND_LP_FLASH_ON_CS0Sebastian Huber1-4/+10
2013-01-09bsp/gen83xx: Add bsp_restart()Sebastian Huber1-0/+2
2012-12-21bsp/gen83xx: Fix CSB clock calculation for MPC8309Sebastian Huber1-1/+6
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-4/+5
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().
2012-08-20bsp/gen83xx: Add br_uid BSP variantThomas Doerfler1-0/+89
2012-08-06Revert "Add bspopts.h.in."Gedare Bloom1-67/+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.
2012-05-24Add bspopts.h.in.Ralf Corsépius1-0/+67
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill6-15/+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.
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-09-262011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-25/+56
* make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file. * Makefile.am, preinstall.am: Reflect changes above. * configure.ac, console/console-config.c, include/bsp.h, include/hwreg_vals.h, include/irq.h, network/network.c, spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options. * make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg, make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid special linkcmds.
2011-01-242011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill5-2/+20
* configure.ac, console/console-config.c, i2c/i2c_init.c, include/bsp.h, include/hwreg_vals.h, include/irq.h, include/tm27.h, include/tsec-config.h, irq/irq.c, network/network.c, spi/spi_init.c, startup/bspstart.c: Address some of the issues spotted by the check_bsp script.
2010-12-302010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-12/+51
* include/u-boot.h: Removed file. * include/u-boot-config.h, include/tsec-config.h: New files. * include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot support. * network/network.c: Update for API changes. * Makefile.am, preinstall.am: Reflect changes above.
2010-11-122010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-50/+17
* console/console.h, console/console.c, console/config.c, console/ns16550cfg.c: Removed files. * console/console-config.c: New file. * Makefile.am: Reflect changes above. * configure.ac: New BSP options. * include/bsp.h: Use new BSP options. * network/network.c: Avoid memory leak. * startup/bspstart.c: Initialize console port table. * spi/spi_init.c: Update for SD card API changes.
2010-04-302010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-79/+5
* include/irq-config.h: Removed file. * Makefile.am, preinstall.am: Reflect change above. * include/irq.h: Moved defines from 'include/irq-config.h'.
2009-11-30Whitespace removal.Ralf Corsepius3-14/+14
2009-10-23Update for exception support changes.Thomas Doerfler1-3/+1
2009-03-19 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:Thomas Doerfler1-7/+7
correct some init values for HSC_CM01 boards
2008-11-18include/bsp.h, include/hwreg_vals.h, network/network.c:Thomas Doerfler2-2/+2
correct some init values for HSC_CM01 boards change strategy to determine MAC address
2008-10-022008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-113/+0
* Makefile.am, preinstall.am: Use shared stub coverhd.h * include/coverhd.h: Removed.
2008-10-012008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+2
* include/bsp.h: #include <bspopts.h> first.
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-6/+0
* Makefile.am, console/console.c, include/bsp.h: 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-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* include/bsp.h, network/network.c: Fix missed name change.
2008-09-202008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+1
* Makefile.am, include/bsp.h, 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-182008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-21/+0
* include/bsp.h: Remove unnecessary boilerplate comments.
2008-09-182008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-5/+0
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this is NOT used anywhere.
2008-09-102008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* include/bsp.h: 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.
2008-08-26various changes to gen83xx BSP and othersThomas Doerfler1-11/+43
2008-08-212008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-20/+24
* Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c. * console/console.c: Added poll for char helper. * include/bsp.h: Add macro definitions for optional reset behavior. * startup/bspstart.c: Split out bsp_cleanup(). Clean up. * startup/bspclean.c: New file. Not can press any key on normal shutdown to reset board when on MPC8313erdb.
2008-08-202008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-43/+43
* include/tm27.h: Uses now a decrementer exception handler. Replaces previous file. * startup/bspstart.c: Install a default decrementer exception handler.
2008-08-192008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-0/+2
* include/bsp.h, network/network.c, spi/spi_init.c, startup/cpuinit.c, startup/uboot_support.c: Fixed warnings.
2008-07-24Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler1-2/+1
added support for an optional separate heap area.
2008-07-14updated gen83xx BSPThomas Doerfler4-56/+327
updated haleakala BSP added MPC55xx BSP
2008-05-15adapted gen83xx to new boardThomas Doerfler2-162/+294
2007-12-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+0
* include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
2007-10-25added SPI support to libi2cThomas Doerfler1-0/+7
added IRQ support to MPC83xx i2c driver added mpc83xx spi driver
2007-09-052007-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
* configure.ac: Fix path. * include/bsp.h: Fix typo.
2007-08-10added BSP hsc_cm01Thomas Doerfler1-11/+80
2007-07-18removed file, will be generated automatically with autoconfThomas Doerfler1-24/+0
2007-07-18added missing fileThomas Doerfler1-0/+24
2007-07-112007-07-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+2
* include/.cvsignore: New file.
2007-07-112007-07-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-24/+0
* ChangeLog: New file. * aclocal.m4, include/bspopts.h.in: Removed.
2007-07-10compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler4-0/+420
many different versions of new exception handling code to shared sources.