diff options
author | David Cunado <david.cunado@arm.com> | 2018-02-16 21:12:58 +0000 |
---|---|---|
committer | David Cunado <david.cunado@arm.com> | 2018-02-27 17:05:51 +0000 |
commit | 5724481fdda01067d3bf4386a3dd07a541d16044 (patch) | |
tree | d9261376986d6cc968c9daf8c38e9f9a46cc0103 /plat/hisilicon | |
parent | 322a98b6322f1b566a5c4ec65fe481dc204b3eb0 (diff) |
Update ULL() macro and instances of ull to comply with MISRA
MISRA C-2012 Rule 7.3 violation: lowercase l shall not be used as literal suffixes.
This patch resolves this for the ULL() macro by using ULL suffix instead
of the ull suffix.
Change-Id: Ia8183c399e74677e676956e8653e82375d0e0a01
Signed-off-by: David Cunado <david.cunado@arm.com>
Diffstat (limited to 'plat/hisilicon')
-rw-r--r-- | plat/hisilicon/hikey/include/platform_def.h | 2 | ||||
-rw-r--r-- | plat/hisilicon/hikey960/include/platform_def.h | 2 | ||||
-rw-r--r-- | plat/hisilicon/poplar/include/platform_def.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plat/hisilicon/hikey/include/platform_def.h b/plat/hisilicon/hikey/include/platform_def.h index f4a3fd4e..02b75629 100644 --- a/plat/hisilicon/hikey/include/platform_def.h +++ b/plat/hisilicon/hikey/include/platform_def.h @@ -149,7 +149,7 @@ /* * Platform specific page table and MMU setup constants */ -#define ADDR_SPACE_SIZE (1ull << 32) +#define ADDR_SPACE_SIZE (1ULL << 32) #if defined(IMAGE_BL1) || defined(IMAGE_BL32) #define MAX_XLAT_TABLES 3 diff --git a/plat/hisilicon/hikey960/include/platform_def.h b/plat/hisilicon/hikey960/include/platform_def.h index cb760907..36fd3b53 100644 --- a/plat/hisilicon/hikey960/include/platform_def.h +++ b/plat/hisilicon/hikey960/include/platform_def.h @@ -114,7 +114,7 @@ /* * Platform specific page table and MMU setup constants */ -#define ADDR_SPACE_SIZE (1ull << 32) +#define ADDR_SPACE_SIZE (1ULL << 32) #if defined(IMAGE_BL1) || defined(IMAGE_BL31) || defined(IMAGE_BL32) #define MAX_XLAT_TABLES 3 diff --git a/plat/hisilicon/poplar/include/platform_def.h b/plat/hisilicon/poplar/include/platform_def.h index 805c152a..8e8f009d 100644 --- a/plat/hisilicon/poplar/include/platform_def.h +++ b/plat/hisilicon/poplar/include/platform_def.h @@ -122,7 +122,7 @@ #define PLAT_POPLAR_NS_IMAGE_OFFSET 0x37000000 /* Page table and MMU setup constants */ -#define ADDR_SPACE_SIZE (1ull << 32) +#define ADDR_SPACE_SIZE (1ULL << 32) #define MAX_XLAT_TABLES (4) #define MAX_MMAP_REGIONS (16) |