imx8m spl: code cleanup
- Put the MMC device initialization part in a separate function. - Flatten indented code by using "return" in the exception path, since there is no error handling to perform. - Include the full function definition for ddr_load_train_code() in the preprocessor conditional, so you don't have to scroll up to see the function prototype for the #else case.
Showing with 112 additions and 122 deletions