summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-01 15:17:40 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-01 15:23:04 +0200
commit9eb1994fd250174abb60ae71bbae33c54cd526f8 (patch)
treef311e10ae4cfc7e164cf1b677c2475db1599c64e /c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
parentsptests/spcontext01: Avoid NULL pointer access (diff)
downloadrtems-9eb1994fd250174abb60ae71bbae33c54cd526f8.tar.bz2
bsps/arm: Rename bsp_mm_config_table
Rename bsp_mm_config_table to arm_cp15_start_mmu_config_table and rename bsp_mm_config_table_size to arm_cp15_start_mmu_config_table_size to be in line with the other names in <bsp/arm-cp15-start.h>.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c b/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
index 489ff2ebaa..398ba98096 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
+++ b/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
@@ -20,13 +20,9 @@
* http://www.rtems.org/license/LICENSE.
*/
-#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
-
-#include <bsp/start.h>
#include <bsp/arm-cp15-start.h>
-BSP_START_DATA_SECTION const arm_cp15_start_section_config
-bsp_mm_config_table[] = {
+const arm_cp15_start_section_config arm_cp15_start_mmu_config_table[] = {
{
.begin = (uint32_t) bsp_section_fast_text_begin,
.end = (uint32_t) bsp_section_fast_text_end,
@@ -74,5 +70,5 @@ bsp_mm_config_table[] = {
}
};
-BSP_START_DATA_SECTION const size_t bsp_mm_config_table_size =
-RTEMS_ARRAY_SIZE(bsp_mm_config_table);
+const size_t arm_cp15_start_mmu_config_table_size =
+ RTEMS_ARRAY_SIZE(arm_cp15_start_mmu_config_table);