1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup mpc55xx |
---|
5 | * |
---|
6 | * @brief MMU early configuration. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2011 embedded brains GmbH. All rights reserved. |
---|
11 | * |
---|
12 | * embedded brains GmbH |
---|
13 | * Obere Lagerstr. 30 |
---|
14 | * 82178 Puchheim |
---|
15 | * Germany |
---|
16 | * <rtems@embedded-brains.de> |
---|
17 | * |
---|
18 | * The license and distribution terms for this file may be |
---|
19 | * found in the file LICENSE in this distribution or at |
---|
20 | * http://www.rtems.com/license/LICENSE. |
---|
21 | */ |
---|
22 | |
---|
23 | #include <bsp/start.h> |
---|
24 | #include <bsp/mpc55xx-config.h> |
---|
25 | |
---|
26 | BSP_START_TEXT_SECTION const struct MMU_tag |
---|
27 | mpc55xx_start_config_mmu_early [] = { |
---|
28 | #if MPC55XX_CHIP_TYPE / 10 == 564 |
---|
29 | /* Internal flash 1M */ |
---|
30 | MPC55XX_MMU_TAG_INITIALIZER(0, 0x00000000, MPC55XX_MMU_1M, 1, 0, 1, 1), |
---|
31 | /* IO */ |
---|
32 | MPC55XX_MMU_TAG_INITIALIZER(1, 0xffe00000, MPC55XX_MMU_2M, 0, 1, 1, 1), |
---|
33 | MPC55XX_MMU_TAG_INITIALIZER(2, 0xc3f00000, MPC55XX_MMU_1M, 0, 1, 1, 1), |
---|
34 | /* Internal SRAM 64k */ |
---|
35 | MPC55XX_MMU_TAG_INITIALIZER(3, 0x40000000, MPC55XX_MMU_64K, 1, 1, 1, 1) |
---|
36 | #endif |
---|
37 | }; |
---|
38 | |
---|
39 | BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_mmu_early_count [] = { |
---|
40 | sizeof(mpc55xx_start_config_mmu_early) |
---|
41 | / sizeof(mpc55xx_start_config_mmu_early [0]) |
---|
42 | }; |
---|