pmaports/main/dtbtool/0001-fix-version-detection.patch
Luca Weiss c6e3000931
main/dtbtool: add patch for providing alternative dt tag (!641)
Add the equivalent of the --dt-tag option found in dtbToolCM or
dtbToolLineage, needed on htc-memul.
2019-11-20 22:29:51 +01:00

13 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)