]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: ti_sci: Parse all resource ranges even if some is not available
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 5 Aug 2019 17:26:44 +0000 (12:26 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 17:33:43 +0000 (13:33 -0400)
commitc659a979ea777b0b1119a46f76de9e9616049374
tree09c2cf1f1c6b25c187f7755f07d1c19d3369b7f9
parent51cd1e2373274dc3167dabba628dcfc25828d36d
firmware: ti_sci: Parse all resource ranges even if some is not available

Do not fail if any of the requested subtypes are not available, but set the
number of resources to 0 and continue parsing the resource ranges.

Based on Linux kernel patch by Peter Ujfalusi <peter.ujfalusi@ti.com>

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/firmware/ti_sci.c