[U-Boot] [PATCH 11/38] spl: Add a function to determine the U-Boot phase