diff options
author | Vijay Kumar Banerjee <vijaykumar9597@gmail.com> | 2019-08-03 02:27:01 +0530 |
---|---|---|
committer | Christian Mauderer <oss@c-mauderer.de> | 2019-08-07 20:38:43 +0200 |
commit | 886956afd2dc10e2d8b6ec3aa9dc72976b6f58c9 (patch) | |
tree | 49bde89b682b7881e4b20d8fb32d82b9f57fd4a1 /bsps/arm/beagle/start/bspstart.c | |
parent | record: Change thread name encoding (diff) | |
download | rtems-886956afd2dc10e2d8b6ec3aa9dc72976b6f58c9.tar.bz2 |
bsp/beagle: Add nocache section
Closes #3780
Diffstat (limited to 'bsps/arm/beagle/start/bspstart.c')
-rw-r--r-- | bsps/arm/beagle/start/bspstart.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <bsp/bootcard.h> #include <bsp/irq-generic.h> #include <bsp/fdt.h> +#include <bsp/linker-symbols.h> #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) |