msm: pil: Fix segment physical address comparison
The PIL must load segments in order of lowest physical address to highest physical address. The comparison used to sort the segment list prior to load is replaced with one that works for physical addresses above 2GB (0x80000000). The previous comparison returned an incorrect result when comparing a segment with a physical address located below 2GB with one located above 2GB. Change-Id: Id648959a1619ad0a7bb7f8f78e1f7164b3693fb6 Acked-by:Kaushik Sikdar <ksikdar@qti.qualcomm.com> Signed-off-by:
Rohit Vaswani <rvaswani@codeaurora.org>
Loading
Please register or sign in to comment