From f67447d84b0393102481928953048191a1331214 Mon Sep 17 00:00:00 2001 From: Adriana Reus Date: Mon, 16 Oct 2017 16:36:41 +0300 Subject: [PATCH] MLK-16594-1: imx8qm/qxp: clean-up: Remove unused structures. Remove boot device - related structures that are no longer used on imx8qm/qxp since we now use SCFW API to get the boot device instead of the AP-ROM information. Signed-off-by: Adriana Reus Reviewed-by: Ye Li --- arch/arm/include/asm/arch-imx8/imx-regs.h | 1 - arch/arm/include/asm/arch-imx8/sys_proto.h | 31 ---------------------- 2 files changed, 32 deletions(-) diff --git a/arch/arm/include/asm/arch-imx8/imx-regs.h b/arch/arm/include/asm/arch-imx8/imx-regs.h index 910a3d8db6..d951ae5407 100644 --- a/arch/arm/include/asm/arch-imx8/imx-regs.h +++ b/arch/arm/include/asm/arch-imx8/imx-regs.h @@ -53,7 +53,6 @@ #define MXS_GPMI_BASE (APBH_DMA_ARB_BASE_ADDR + 0x02000) #define MXS_BCH_BASE (APBH_DMA_ARB_BASE_ADDR + 0x04000) -#define ROM_SW_INFO_ADDR 0x00000890 #define PASS_OVER_INFO_ADDR 0x0010fe00 #define USB_BASE_ADDR 0x5b0d0000 diff --git a/arch/arm/include/asm/arch-imx8/sys_proto.h b/arch/arm/include/asm/arch-imx8/sys_proto.h index 0c3f69e618..d9a243a435 100644 --- a/arch/arm/include/asm/arch-imx8/sys_proto.h +++ b/arch/arm/include/asm/arch-imx8/sys_proto.h @@ -7,37 +7,6 @@ #include #include -enum boot_dev_type { - FLASH_TYPE_SD = 1, - FLASH_TYPE_MMC = 2, - FLASH_TYPE_NAND = 3, - FLASH_TYPE_FLEXSPINOR = 4, - FLASH_TYPE_WEIM = 5, - FLASH_TYPE_EEPROM = 6, - BT_DEV_TYPE_SATA_DISK = 7, - - BT_DEV_TYPE_CAN = 0xC, - BT_DEV_TYPE_UART = 0xD, - BT_DEV_TYPE_USB = 0xE, - BT_DEV_TYPE_MEM_DEV = 0xF -}; - -struct boot_dev_info_t { - uint8_t bt_type; - uint8_t instance; - uint8_t dev_type; - uint8_t rsvd2; -}; - -struct rom_sw_info_t { - struct boot_dev_info_t boot_dev_info; - uint32_t core_freq; - uint32_t axi_freq; - uint32_t ddr_freq; - uint32_t rom_tick_freq; - uint32_t rsvd[3]; -}; - struct pass_over_info_t { uint16_t barker; uint16_t len; -- 2.17.1