rcar_gen3: plat: Staticize memory maps

Staticize the platform memory map tables as they are only used within
the platform_common.c file.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
This commit is contained in:
Marek Vasut 2018-12-30 17:19:03 +01:00
parent db9a155508
commit fc181c3b2c
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ const uint8_t version_of_renesas[VERSION_OF_RENESAS_MAXLEN]
#endif
#if IMAGE_BL2
const mmap_region_t rcar_mmap[] = {
static const mmap_region_t rcar_mmap[] = {
MAP_FLASH0, /* 0x08000000 - 0x0BFFFFFF RPC area */
MAP_DRAM0, /* 0x40000000 - 0xBFFFFFFF DRAM area(Legacy) */
MAP_REG0, /* 0xE6000000 - 0xE62FFFFF SoC register area */
@ -116,7 +116,7 @@ const mmap_region_t rcar_mmap[] = {
#endif
#if IMAGE_BL31
const mmap_region_t rcar_mmap[] = {
static const mmap_region_t rcar_mmap[] = {
MAP_SHARED_RAM,
MAP_ATFW_CRASH,
MAP_ATFW_LOG,
@ -129,7 +129,7 @@ const mmap_region_t rcar_mmap[] = {
#endif
#if IMAGE_BL32
const mmap_region_t rcar_mmap[] = {
static const mmap_region_t rcar_mmap[] = {
MAP_DEVICE0,
MAP_DEVICE1,
{0}