[rtems-libbsd commit] Add support for LPC32XX cache
Sebastian Huber
sebh at rtems.org
Tue Feb 14 08:40:12 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: 5382f639805a28e9596e3e68a8877aa7c0dde52a
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5382f639805a28e9596e3e68a8877aa7c0dde52a
Author: Kevin Kirspel <kevin-kirspel at idexx.com>
Date: Mon Jan 30 11:58:24 2017 -0500
Add support for LPC32XX cache
---
rtemsbsd/include/machine/rtems-bsd-cache.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h
old mode 100644
new mode 100755
index b8c4ce7..bd496f9
--- a/rtemsbsd/include/machine/rtems-bsd-cache.h
+++ b/rtemsbsd/include/machine/rtems-bsd-cache.h
@@ -42,15 +42,12 @@
#include <bsp.h>
-#if defined(LIBBSP_ARM_LPC24XX_BSP_H)
+#if defined(LIBBSP_ARM_LPC24XX_BSP_H) || (defined(LIBBSP_ARM_LPC32XX_BSP_H) && defined(LPC32XX_DISABLE_MMU))
/* No cache */
#elif defined(LIBBSP_ARM_ALTERA_CYCLONE_V_BSP_H) || \
- defined(LIBBSP_ARM_XILINX_ZYNQ_BSP_H)
+ defined(LIBBSP_ARM_XILINX_ZYNQ_BSP_H) || (defined(LIBBSP_ARM_LPC32XX_BSP_H) && !defined(LPC32XX_DISABLE_MMU))
/* With cache, no coherency support in hardware */
#define CPU_DATA_CACHE_ALIGNMENT 32
-#elif defined(LIBBSP_ARM_LPC32XX_BSP_H)
- /* With cache, no coherency support in hardware */
- #include <libcpu/cache.h>
#elif defined(__GEN83xx_BSP_h)
/* With cache, coherency support in hardware */
#endif
More information about the vc
mailing list