diff options
author | Girish Pathak <girish.pathak@arm.com> | 2018-06-19 14:53:53 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-06-22 08:22:04 +0200 |
commit | 3b03b5e990f8bb347dfdb91926d8ef015d0b607e (patch) | |
tree | 516064273ee34d27207d5f26cef74eda70b4085e /BaseTools/Source/Python/GenFds/Region.py | |
parent | 889cf68c3cd67617e274526822e553bfb07cd231 (diff) | |
download | edk2-3b03b5e990f8bb347dfdb91926d8ef015d0b607e.tar.gz edk2-3b03b5e990f8bb347dfdb91926d8ef015d0b607e.tar.bz2 edk2-3b03b5e990f8bb347dfdb91926d8ef015d0b607e.zip |
ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids
Dynamically allocate the buffer to receive the SCMI protocol list.
This makes MAX_PROTOCOLS redundant, so it is removed.
It also fixes one minor code alignment issue and removes an unused
macro PROTOCOL_MASK.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/Region.py')
0 files changed, 0 insertions, 0 deletions