mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-17 04:51:31 +03:00
14 lines
377 B
Diff
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)
|