diff options
| author | Harrison Mutai <harrison.mutai@arm.com> | 2026-06-23 16:02:08 +0000 |
|---|---|---|
| committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2026-06-23 16:02:08 +0000 |
| commit | 4714f3a6be4273822729fd5f5d1fcd7dd5baf22a (patch) | |
| tree | a0b80b36e476f18e7255478a1c25e1f6f68be7a7 /include | |
| parent | b37126d3ef3a49dc44221ffe9c6839458233eca9 (diff) | |
| parent | 68dd3c9c48d07c960cebc1cddf055302e93fb830 (diff) | |
| download | arm-trusted-firmware-4714f3a6be4273822729fd5f5d1fcd7dd5baf22a.tar.gz arm-trusted-firmware-4714f3a6be4273822729fd5f5d1fcd7dd5baf22a.zip | |
Merge "fix(guid-partition): check definition of platform flags" into integration
Diffstat (limited to 'include')
| -rw-r--r-- | include/drivers/partition/partition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drivers/partition/partition.h b/include/drivers/partition/partition.h index ed6d13399..6c5b40a73 100644 --- a/include/drivers/partition/partition.h +++ b/include/drivers/partition/partition.h @@ -13,13 +13,13 @@ #include <drivers/partition/efi.h> #include <tools_share/uuid.h> -#if !PLAT_PARTITION_MAX_ENTRIES +#if !defined(PLAT_PARTITION_MAX_ENTRIES) || !PLAT_PARTITION_MAX_ENTRIES # define PLAT_PARTITION_MAX_ENTRIES 128 #endif /* PLAT_PARTITION_MAX_ENTRIES */ CASSERT(PLAT_PARTITION_MAX_ENTRIES <= 128, assert_plat_partition_max_entries); -#if !PLAT_PARTITION_BLOCK_SIZE +#if !defined(PLAT_PARTITION_BLOCK_SIZE) || !PLAT_PARTITION_BLOCK_SIZE # define PLAT_PARTITION_BLOCK_SIZE 512 #endif /* PLAT_PARTITION_BLOCK_SIZE */ |
