[rtems commit] bsp/qoriq: New BSP option

Sebastian Huber sebh at rtems.org
Mon Jun 4 07:51:40 UTC 2012


Module:    rtems
Branch:    master
Commit:    105ccdd55ec3c683dcbe6f2eef3e44135f4ba53d
Changeset: http://git.rtems.org/rtems/commit/?id=105ccdd55ec3c683dcbe6f2eef3e44135f4ba53d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon May 21 10:34:23 2012 +0200

bsp/qoriq: New BSP option

New BSP option BSP_USE_DATA_CACHE_BLOCK_TOUCH.

---

 c/src/lib/libbsp/powerpc/qoriq/configure.ac        |    3 +++
 .../lib/libbsp/powerpc/qoriq/include/bspopts.h.in  |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/configure.ac b/c/src/lib/libbsp/powerpc/qoriq/configure.ac
index 7b82c1d..75ad027 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/configure.ac
+++ b/c/src/lib/libbsp/powerpc/qoriq/configure.ac
@@ -17,6 +17,9 @@ RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
 RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
 RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
 
+RTEMS_BSPOPTS_SET([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[*],[1])
+RTEMS_BSPOPTS_HELP([BSP_USE_DATA_CACHE_BLOCK_TOUCH],[if defined use dcbt instruction])
+
 RTEMS_BSPOPTS_SET([BSP_CONSOLE_BAUD],[*],[115200])
 RTEMS_BSPOPTS_HELP([BSP_CONSOLE_BAUD],[default baud for console and other serial devices])
 
diff --git a/c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in b/c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
index 917596f..2a9909d 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
+++ b/c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
@@ -27,6 +27,9 @@
 /* If defined, reset the board when the application exits. */
 #undef BSP_RESET_BOARD_AT_EXIT
 
+/* if defined use dcbt instruction */
+#undef BSP_USE_DATA_CACHE_BLOCK_TOUCH
+
 /* enable usage of interrupts for the UART modules */
 #undef BSP_USE_UART_INTERRUPTS
 




More information about the vc mailing list