summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2024-06-11 19:33:20 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-07-22 14:07:54 +0000
commit76723874a75d89a18e6a3c4aee0dacca2636ed4e (patch)
tree3bd515860b6601c3857e0ebdaedd377f0d27164a
parenta87649cee3883fd0044a212500487acd12912297 (diff)
util/mtkheader: Add gfh header for mt8196 bootblock code
TEST=Build Pass. BUG=b:317009620 Change-Id: Ida203a72c23b94b1848418c9727a5788df421eea Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83569 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
-rwxr-xr-xutil/mtkheader/gen-bl-img.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mtkheader/gen-bl-img.py b/util/mtkheader/gen-bl-img.py
index 1627a79f17..32012255f7 100755
--- a/util/mtkheader/gen-bl-img.py
+++ b/util/mtkheader/gen-bl-img.py
@@ -23,7 +23,8 @@ def align(data, size, pattern=b'\0'):
def gen_gfh_info(chip, data):
entries = {
'mt8173': 0x000C1000,
- 'mt8183': 0x00201000
+ 'mt8183': 0x00201000,
+ 'mt8196': 0x02001000,
}
gfh_format = '<44I'