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