plat/arm/sgi: fix the incorrect check for SCMI channel ID
Use ARRAY_SIZE macro instead of sizeof operator to obtain the maximum
number of SCMI channels supported on the platform.

Change-Id: Id922bb548af98ac99b4ac0c34e38e589e5a80b2d
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
1 parent 527ac2e commit 5c215de249a6bb96b9f758a46fea70a366b13f61
@Aditya Angadi Aditya Angadi authored on 11 Feb 2020
Manish Pandey committed on 27 Mar 2020
Showing 1 changed file
View
plat/arm/css/sgi/sgi_bl31_setup.c