[Concept] [PATCH v2 14/18] boot: Move image-decompression into a separate function