[U-Boot] [PATCH] autostart: unify duplicated logic into the bootm code