[U-Boot] [PATCH v2 3/8] spl: Move the loading code into its own function