imx: keep boot device info for partition reboot

The boot device info should be kept during partition reboot,
the boot device ownership is changed after partition management
in ATF, so calling sc_pm_set_boot_parm() with boot device
parameter will fail in PSCI initialization phase, moving it
to bl31_early_platform_setup2() can make it work, correct them.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit d0c4a4e2c2d2618bef7c469c11ebeeb98174630a)
4 files changed