summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-30 11:45:11 +0100
committerCyril Jourdan2013-02-11 13:33:20 +0100
commit45ac0f8ef99ab35762bcef7ec00e413028d86d84 (patch)
tree239716413713f1789fdd8452201264c782d46d2c /common
parent2710bd3f2c76ab7d596ef68d994b5e3352232a83 (diff)
common/inc/asm/arch: rename SRAM_DATA_PTR macro, refs #3693
This macro is using virtual addresses, so we rename it SRAM_DATA_VA_PTR.
Diffstat (limited to 'common')
-rw-r--r--common/include/asm/arch/sram-mapping.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/include/asm/arch/sram-mapping.h b/common/include/asm/arch/sram-mapping.h
index 01f6611ce0..b2d01fd04c 100644
--- a/common/include/asm/arch/sram-mapping.h
+++ b/common/include/asm/arch/sram-mapping.h
@@ -34,7 +34,7 @@ typedef struct sram_data
sram_autoswitch_data_t autoswitch;
} sram_data_t;
-#define SRAM_DATA_PTR(field) (SRAM_DATA_BASE_VA_PTR \
- + (offsetof (sram_data_t, field) / 4))
+#define SRAM_DATA_VA_PTR(field) (SRAM_DATA_BASE_VA_PTR \
+ + (offsetof (sram_data_t, field) / 4))
#endif /* __ASM_ARCH_SRAM_MAPPING_H */