stm32mp: simplify the STM32MP15x package parsing code
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 20 Jun 2022 07:50:01 +0000 (09:50 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 6 Sep 2022 11:54:50 +0000 (13:54 +0200)
commit50b2184257c27833eece838dff5a519f07325082
tree9c04d2f2d0b5bb0ce3ea0d882a2616f5581e9ac7
parent51601397fcbb13e6dc2e4223408230c82955a601
stm32mp: simplify the STM32MP15x package parsing code

Simplify the package parsing code for STM32MP15X as package can be
affected with get_cpu_package() result.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/stm32mp15x.c