diff options
author | Caleb Connolly <caleb.connolly@linaro.org> | 2023-12-05 13:46:54 +0000 |
---|---|---|
committer | Caleb Connolly <caleb.connolly@linaro.org> | 2024-01-16 12:26:54 +0000 |
commit | 64550c7f4d34def290d4952ed5c53357802626ec (patch) | |
tree | e12b5cc6bbdcc673449322194398b85448c3c22c /lib/efi_loader/efi_net.c | |
parent | 92fe08921c769994817004b4b7e621d32f0431dd (diff) |
pmic: qcom: dont use dev_read_addr to get USID
Linux DTs stuff a value indicating if the USID is a USID or a GSID in the
reg property, the Linux SPMI driver then reads the two address cells
separately. U-boot's dev_read_addr() doesn't know how to handle this, so
use ofnode_read_u32_index() to get just the USID.
The Qcom pmic driver doesn't have support for GSID handling, so just
ignore the second value for now.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_net.c')
0 files changed, 0 insertions, 0 deletions