arm: mach-k3: fix spelling mistake "entended" -> "extended"
the macro for the boot data location from rom is misspelled. fix it Signed-off-by: Bryan Brattlof <bb@ti.com>
This commit is contained in:
parent
bd181a24c4
commit
4c710fa828
8 changed files with 8 additions and 8 deletions
|
@ -26,7 +26,7 @@ static struct rom_extended_boot_data bootdata __section(".data");
|
||||||
static void store_boot_info_from_rom(void)
|
static void store_boot_info_from_rom(void)
|
||||||
{
|
{
|
||||||
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
||||||
memcpy(&bootdata, (uintptr_t *)ROM_ENTENDED_BOOT_DATA_INFO,
|
memcpy(&bootdata, (uintptr_t *)ROM_EXTENDED_BOOT_DATA_INFO,
|
||||||
sizeof(struct rom_extended_boot_data));
|
sizeof(struct rom_extended_boot_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ static struct rom_extended_boot_data bootdata __section(".data");
|
||||||
static void store_boot_info_from_rom(void)
|
static void store_boot_info_from_rom(void)
|
||||||
{
|
{
|
||||||
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
||||||
memcpy(&bootdata, (uintptr_t *)ROM_ENTENDED_BOOT_DATA_INFO,
|
memcpy(&bootdata, (uintptr_t *)ROM_EXTENDED_BOOT_DATA_INFO,
|
||||||
sizeof(struct rom_extended_boot_data));
|
sizeof(struct rom_extended_boot_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
#define CTRLMMR_MCU_RST_CTRL (MCU_CTRL_MMR0_BASE + 0x18170)
|
#define CTRLMMR_MCU_RST_CTRL (MCU_CTRL_MMR0_BASE + 0x18170)
|
||||||
|
|
||||||
#define ROM_ENTENDED_BOOT_DATA_INFO 0x43c3f1e0
|
#define ROM_EXTENDED_BOOT_DATA_INFO 0x43c3f1e0
|
||||||
|
|
||||||
/* Use Last 2K as Scratch pad */
|
/* Use Last 2K as Scratch pad */
|
||||||
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x70000000
|
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x70000000
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#define MAIN_DEVSTAT_BACKUP_USB_MODE_MASK 0x01
|
#define MAIN_DEVSTAT_BACKUP_USB_MODE_MASK 0x01
|
||||||
|
|
||||||
#define ROM_ENTENDED_BOOT_DATA_INFO 0x701beb00
|
#define ROM_EXTENDED_BOOT_DATA_INFO 0x701beb00
|
||||||
|
|
||||||
/* Use Last 2K as Scratch pad */
|
/* Use Last 2K as Scratch pad */
|
||||||
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x7019f800
|
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x7019f800
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#define WKUP_DEVSTAT_MCU_ONLY_SHIFT 6
|
#define WKUP_DEVSTAT_MCU_ONLY_SHIFT 6
|
||||||
|
|
||||||
/* ROM HANDOFF Structure location */
|
/* ROM HANDOFF Structure location */
|
||||||
#define ROM_ENTENDED_BOOT_DATA_INFO 0x41cffb00
|
#define ROM_EXTENDED_BOOT_DATA_INFO 0x41cffb00
|
||||||
|
|
||||||
/* MCU SCRATCHPAD usage */
|
/* MCU SCRATCHPAD usage */
|
||||||
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START CONFIG_SYS_K3_MCU_SCRATCHPAD_BASE
|
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START CONFIG_SYS_K3_MCU_SCRATCHPAD_BASE
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#define WKUP_DEVSTAT_MCU_ONLY_SHIFT 6
|
#define WKUP_DEVSTAT_MCU_ONLY_SHIFT 6
|
||||||
|
|
||||||
/* ROM HANDOFF Structure location */
|
/* ROM HANDOFF Structure location */
|
||||||
#define ROM_ENTENDED_BOOT_DATA_INFO 0x41cfdb00
|
#define ROM_EXTENDED_BOOT_DATA_INFO 0x41cfdb00
|
||||||
|
|
||||||
/* MCU SCRATCHPAD usage */
|
/* MCU SCRATCHPAD usage */
|
||||||
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START CONFIG_SYS_K3_MCU_SCRATCHPAD_BASE
|
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START CONFIG_SYS_K3_MCU_SCRATCHPAD_BASE
|
||||||
|
|
|
@ -130,7 +130,7 @@ static struct rom_extended_boot_data bootdata __section(".data");
|
||||||
static void store_boot_info_from_rom(void)
|
static void store_boot_info_from_rom(void)
|
||||||
{
|
{
|
||||||
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
||||||
memcpy(&bootdata, (uintptr_t *)ROM_ENTENDED_BOOT_DATA_INFO,
|
memcpy(&bootdata, (uintptr_t *)ROM_EXTENDED_BOOT_DATA_INFO,
|
||||||
sizeof(struct rom_extended_boot_data));
|
sizeof(struct rom_extended_boot_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ static struct rom_extended_boot_data bootdata __section(".data");
|
||||||
static void store_boot_info_from_rom(void)
|
static void store_boot_info_from_rom(void)
|
||||||
{
|
{
|
||||||
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
bootindex = *(u32 *)(CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX);
|
||||||
memcpy(&bootdata, (uintptr_t *)ROM_ENTENDED_BOOT_DATA_INFO,
|
memcpy(&bootdata, (uintptr_t *)ROM_EXTENDED_BOOT_DATA_INFO,
|
||||||
sizeof(struct rom_extended_boot_data));
|
sizeof(struct rom_extended_boot_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue