[PATCH 07/53] imx: move get_boot_device to common file