2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* aclocal/bsp-bootcard-options.m4: Rename BSP_BOOTCARD_OPTIONS to
	RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
	now use the same macros.
	* aclocal/bsp-bspcleanup-options.m4: New file.
This commit is contained in:
Joel Sherrill
2009-07-16 23:12:55 +00:00
parent 8f0ce7e105
commit 8785e90673
3 changed files with 37 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal/bsp-bootcard-options.m4: Rename BSP_BOOTCARD_OPTIONS to
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
now use the same macros.
* aclocal/bsp-bspcleanup-options.m4: New file.
2009-06-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Eliminate using the

View File

@@ -3,14 +3,14 @@ dnl
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by boot_card()
dnl and other required parts of the BSP Framwork. Currently, this is
dnl and other required parts of the BSP Framework. Currently, this is
dnl
dnl - Can optionally dirty memory at boot time.
dnl
dnl To be used in bsp-configure scripts
AC_DEFUN([BSP_BOOTCARD_OPTIONS],[
AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
[If defined, then the BSP Framework will put a non-zero pattern into

View File

@@ -0,0 +1,28 @@
dnl $Id$
dnl
dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by the shared
dnl implementation of bsp_cleanup().
dnl
dnl - Can optionally dirty memory at boot time.
dnl
dnl To be used in bsp-configure scripts
dnl USAGE:
dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1])
dnl WHERE:
dnl argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET
dnl argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT
AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[$1])
RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
[If defined, print a message and wait until pressed before resetting
board when application exits.])
RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[$2])
RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
[If defined, reset the board when the application exits.])
])