[U-Boot] [PATCH v2 02/14] sparse: Move main header parsing to a function of its own