From a90d32e60bfd90679c6b11898bb2f7dc2df29df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Mon, 26 Jan 2026 14:55:04 +0100 Subject: [PATCH] psptool/file.py: Mark CPU_FEAT_CONFIG_TBL as no-header type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CPU_FEAT_CONFIG_TBL type 0x98 is a raw data structure that has no header. To avoid ParseError exceptions add it to the list of types without a header. TEST=Parse coreboot image for AM5 platform with type 0x98 included. Signed-off-by: Michał Żygowski --- psptool/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psptool/file.py b/psptool/file.py index 1da231a..b366f74 100644 --- a/psptool/file.py +++ b/psptool/file.py @@ -238,7 +238,7 @@ def create_file_if_not_exists(cls, directory: 'Directory', entry: 'DirectoryEntr # TODO: Find a better way to identify those entries NO_HDR_ENTRY_TYPES = [0x4, 0xb, 0x21, 0x40, 0x48, 0x49, 0x4a, 0x70, 0x6, 0x61, 0x60, 0x68, 0x5f, 0x1a, 0x22, 0x63, 0x67, 0x66, 0x6d, 0x62, 0x61, 0x7, 0x38, 0x46, 0x54, - 0x82, 0x84, 0x8d, 0x69, 0x7c ] + 0x82, 0x84, 0x8d, 0x69, 0x7c, 0x98 ] NO_SIZE_ENTRY_TYPES = [0xb] KEY_STORE_TYPES = [0x50, 0x51]