mach-snapdragon: Update fdtfile logic to work for RB1 and RB2
authorSumit Garg <sumit.garg@oss.qualcomm.com>
Mon, 5 May 2025 12:43:33 +0000 (18:13 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Mon, 2 Jun 2025 16:20:40 +0000 (18:20 +0200)
commit14315b73a8e7aef9125c7c1aa28ebe3f0725a202
tree6cf5d2b45718d05f2ac4d4b3e4fbd9ca90b31967
parentc92bf21e731a20d7de6acacd6487e98c69fd2a83
mach-snapdragon: Update fdtfile logic to work for RB1 and RB2

RB1 and RB2 have three root compatibles where the last one can't be used
to decode fdtfile name (qcm* vs qrb*). So rather just rely on the first
compatible to retrieve the SoC name.

Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250505124333.12344-1-sumit.garg@kernel.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
arch/arm/mach-snapdragon/board.c