commit | b64d5d6d19f999eb714a813ee8c5b4308a14f6eb | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Tue Sep 20 16:05:38 2022 -0700 |
committer | Marti Bolivar <marti.bolivar@nordicsemi.no> | Mon Nov 07 19:00:31 2022 +0100 |
tree | 9adb4b9461fdcf952dce114486df9270eace9c2e | |
parent | c875cb0f94e79f59bf3b7a85b9b959094ab65328 [diff] |
dtlib: move some internal code around Refactor the file parsing methods for readability by moving the _parse_header() and _parse_memreserves() calls from _parse_dt() to _parse_file(). The header and memreserves are not part of the 'tree' part of the devicetree; now that we have a dedicated _parse_file() helper, it makes more sense to me to have them there. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>