[U-Boot] [PATCH v2 2/4] x86: Rewrite bootm.c to make it similar to ARM