1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00
mobile-nixos/overlay/dtbtool/00_fix_version_detection.patch
2018-06-10 00:57:12 +00:00

14 lines
377 B
Diff

diff --git a/dtbTool b/dtbTool
index b11402d..2dcdd87 100755
--- a/dtbTool
+++ b/dtbTool
@@ -353,7 +353,7 @@ def generate_records(f, pagesize):
board_id = fdt_get_property_int(blob, 0, "qcom,board-id")
pmic_id = fdt_get_property_int(blob, 0, "qcom,pmic-id")
- if board_id:
+ if board_id and msm_id:
x = iter(board_id)
board_id = list(zip(x, x))
x = iter(msm_id)