From 886956afd2dc10e2d8b6ec3aa9dc72976b6f58c9 Mon Sep 17 00:00:00 2001 From: Vijay Kumar Banerjee Date: Sat, 3 Aug 2019 02:27:01 +0530 Subject: bsp/beagle: Add nocache section Closes #3780 --- bsps/arm/beagle/start/bspstart.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bsps/arm/beagle/start/bspstart.c') diff --git a/bsps/arm/beagle/start/bspstart.c b/bsps/arm/beagle/start/bspstart.c index 47db5cc529..224f9ecf3b 100644 --- a/bsps/arm/beagle/start/bspstart.c +++ b/bsps/arm/beagle/start/bspstart.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "bspdebug.h" @@ -30,6 +31,10 @@ void bsp_start(void) bsp_interrupt_initialize(); printk("\nRTEMS Beagleboard: %s\n", type); printk(" ARM Debug: 0x%08x\n", (intptr_t) bbb_arm_debug_registers()); + rtems_cache_coherent_add_area( + bsp_section_nocacheheap_begin, + (uintptr_t) bsp_section_nocacheheap_size + ); } uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells) -- cgit v1.2.3