summaryrefslogtreecommitdiff
path: root/plat/mediatek
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-02-28 09:48:35 +0000
committerGitHub <noreply@github.com>2018-02-28 09:48:35 +0000
commitbd8e6a99e0ef3bb449b0ff0de13ea74c66079412 (patch)
tree007736e41caea7aed022915ca9b69a32312972f6 /plat/mediatek
parentc69145fc2a8f1660131f555f286c6989c8343c74 (diff)
parent5724481fdda01067d3bf4386a3dd07a541d16044 (diff)
Merge pull request #1287 from davidcunado-arm/dc/fix_misra
Update ULL() macro and instances of ull to comply with MISRA
Diffstat (limited to 'plat/mediatek')
-rw-r--r--plat/mediatek/mt6795/include/platform_def.h2
-rw-r--r--plat/mediatek/mt8173/include/platform_def.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/plat/mediatek/mt6795/include/platform_def.h b/plat/mediatek/mt6795/include/platform_def.h
index cb06fea6..6c64ba5d 100644
--- a/plat/mediatek/mt6795/include/platform_def.h
+++ b/plat/mediatek/mt6795/include/platform_def.h
@@ -196,7 +196,7 @@
/*******************************************************************************
* Platform specific page table and MMU setup constants
******************************************************************************/
-#define ADDR_SPACE_SIZE (1ull << 32)
+#define ADDR_SPACE_SIZE (1ULL << 32)
#define MAX_XLAT_TABLES 7
#define MAX_MMAP_REGIONS 16
diff --git a/plat/mediatek/mt8173/include/platform_def.h b/plat/mediatek/mt8173/include/platform_def.h
index 76e694bc..5e79df2d 100644
--- a/plat/mediatek/mt8173/include/platform_def.h
+++ b/plat/mediatek/mt8173/include/platform_def.h
@@ -96,8 +96,8 @@
/*******************************************************************************
* Platform specific page table and MMU setup constants
******************************************************************************/
-#define PLAT_PHY_ADDR_SPACE_SIZE (1ull << 32)
-#define PLAT_VIRT_ADDR_SPACE_SIZE (1ull << 32)
+#define PLAT_PHY_ADDR_SPACE_SIZE (1ULL << 32)
+#define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32)
#define MAX_XLAT_TABLES 4
#define MAX_MMAP_REGIONS 16