mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
Merge "fix(imx8m): make IMX_BOOT_UART_BASE autodetection option more obvious" into integration
This commit is contained in:
commit
12900c4ab6
6 changed files with 12 additions and 12 deletions
|
@ -131,7 +131,7 @@ void bl31_tzc380_setup(void)
|
|||
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||
u_register_t arg2, u_register_t arg3)
|
||||
{
|
||||
unsigned int console_base = 0U;
|
||||
unsigned int console_base = IMX_BOOT_UART_BASE;
|
||||
static console_t console;
|
||||
int i;
|
||||
|
||||
|
@ -146,9 +146,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
|
||||
imx_csu_init(csu_cfg);
|
||||
|
||||
#if IMX_BOOT_UART_BASE
|
||||
console_base = IMX_BOOT_UART_BASE;
|
||||
#endif
|
||||
if (console_base == 0U) {
|
||||
console_base = imx8m_uart_get_base();
|
||||
}
|
||||
|
|
|
@ -159,6 +159,9 @@ BL32_SIZE ?= 0x2000000
|
|||
$(eval $(call add_define,BL32_SIZE))
|
||||
|
||||
IMX_BOOT_UART_BASE ?= 0x30890000
|
||||
ifeq (${IMX_BOOT_UART_BASE},auto)
|
||||
override IMX_BOOT_UART_BASE := 0
|
||||
endif
|
||||
$(eval $(call add_define,IMX_BOOT_UART_BASE))
|
||||
|
||||
EL3_EXCEPTION_HANDLING := $(SDEI_SUPPORT)
|
||||
|
|
|
@ -122,7 +122,7 @@ static void bl31_tzc380_setup(void)
|
|||
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||
u_register_t arg2, u_register_t arg3)
|
||||
{
|
||||
unsigned int console_base = 0U;
|
||||
unsigned int console_base = IMX_BOOT_UART_BASE;
|
||||
static console_t console;
|
||||
unsigned int val;
|
||||
int i;
|
||||
|
@ -143,9 +143,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
val = mmio_read_32(IMX_IOMUX_GPR_BASE + 0x2c);
|
||||
mmio_write_32(IMX_IOMUX_GPR_BASE + 0x2c, val | 0x3DFF0000);
|
||||
|
||||
#if IMX_BOOT_UART_BASE
|
||||
console_base = IMX_BOOT_UART_BASE;
|
||||
#endif
|
||||
if (console_base == 0U) {
|
||||
console_base = imx8m_uart_get_base();
|
||||
}
|
||||
|
|
|
@ -65,6 +65,9 @@ BL32_SIZE ?= 0x2000000
|
|||
$(eval $(call add_define,BL32_SIZE))
|
||||
|
||||
IMX_BOOT_UART_BASE ?= 0x30890000
|
||||
ifeq (${IMX_BOOT_UART_BASE},auto)
|
||||
override IMX_BOOT_UART_BASE := 0
|
||||
endif
|
||||
$(eval $(call add_define,IMX_BOOT_UART_BASE))
|
||||
|
||||
EL3_EXCEPTION_HANDLING := $(SDEI_SUPPORT)
|
||||
|
|
|
@ -118,7 +118,7 @@ static void bl31_tzc380_setup(void)
|
|||
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||
u_register_t arg2, u_register_t arg3)
|
||||
{
|
||||
unsigned int console_base = 0U;
|
||||
unsigned int console_base = IMX_BOOT_UART_BASE;
|
||||
static console_t console;
|
||||
unsigned int val;
|
||||
unsigned int i;
|
||||
|
@ -139,9 +139,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
val = mmio_read_32(IMX_IOMUX_GPR_BASE + 0x2c);
|
||||
mmio_write_32(IMX_IOMUX_GPR_BASE + 0x2c, val | 0x3DFF0000);
|
||||
|
||||
#if IMX_BOOT_UART_BASE
|
||||
console_base = IMX_BOOT_UART_BASE;
|
||||
#endif
|
||||
if (console_base == 0U) {
|
||||
console_base = imx8m_uart_get_base();
|
||||
}
|
||||
|
|
|
@ -156,6 +156,9 @@ BL32_SIZE ?= 0x2000000
|
|||
$(eval $(call add_define,BL32_SIZE))
|
||||
|
||||
IMX_BOOT_UART_BASE ?= 0x30890000
|
||||
ifeq (${IMX_BOOT_UART_BASE},auto)
|
||||
override IMX_BOOT_UART_BASE := 0
|
||||
endif
|
||||
$(eval $(call add_define,IMX_BOOT_UART_BASE))
|
||||
|
||||
EL3_EXCEPTION_HANDLING := $(SDEI_SUPPORT)
|
||||
|
|
Loading…
Add table
Reference in a new issue