Commit d00d346b authored by Peng Fan's avatar Peng Fan
Browse files

MLK-18243-8 arm: imx8m: soc: use i.MX8MM address for boot info

i.MX8MM does not have A0 ROM address, to avoid build failure,
use CONFIG_IMX8MM here.
Signed-off-by: default avatarPeng Fan <>
parent b1f5c76a
...@@ -312,9 +312,14 @@ int arch_auxiliary_core_check_up(u32 core_id) ...@@ -312,9 +312,14 @@ int arch_auxiliary_core_check_up(u32 core_id)
enum boot_device get_boot_device(void) enum boot_device get_boot_device(void)
{ {
struct bootrom_sw_info **p =
(struct bootrom_sw_info **)ROM_SW_INFO_ADDR;
struct bootrom_sw_info **p = struct bootrom_sw_info **p =
is_soc_rev(CHIP_REV_1_0)? (struct bootrom_sw_info **)ROM_SW_INFO_ADDR_A0 : is_soc_rev(CHIP_REV_1_0)? (struct bootrom_sw_info **)ROM_SW_INFO_ADDR_A0 :
(struct bootrom_sw_info **)ROM_SW_INFO_ADDR; (struct bootrom_sw_info **)ROM_SW_INFO_ADDR;
enum boot_device boot_dev = SD1_BOOT; enum boot_device boot_dev = SD1_BOOT;
u8 boot_type = (*p)->boot_dev_type; u8 boot_type = (*p)->boot_dev_type;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment