mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 23:04:50 +00:00
fix(intel): fix UART baud rate and clock
Revise the UART baud rate and clock for general platform build, SIMIC build and EMU build. Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com> Change-Id: I62fefe7b96d5124e75d2810b4fbc1640422b1353
This commit is contained in:
parent
8613c15754
commit
8e53b2fa2e
4 changed files with 5 additions and 9 deletions
|
@ -80,5 +80,4 @@ PROGRAMMABLE_RESET_ADDRESS := 0
|
|||
BL2_AT_EL3 := 1
|
||||
BL2_INV_DCACHE := 0
|
||||
MULTI_CONSOLE_API := 1
|
||||
SIMICS_BUILD := 0
|
||||
USE_COHERENT_MEM := 1
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#define PLAT_SOCFPGA_STRATIX10 1
|
||||
#define PLAT_SOCFPGA_AGILEX 2
|
||||
#define PLAT_SOCFPGA_N5X 3
|
||||
#define PLAT_SOCFPGA_EMULATOR 0
|
||||
|
||||
/* sysmgr.boot_scratch_cold4 & 5 used for CPU release address for SPL */
|
||||
#define PLAT_CPU_RELEASE_ADDR 0xffd12210
|
||||
|
@ -170,14 +171,12 @@
|
|||
#define CRASH_CONSOLE_BASE PLAT_UART0_BASE
|
||||
#define PLAT_INTEL_UART_BASE PLAT_UART0_BASE
|
||||
|
||||
#ifndef SIMICS_BUILD
|
||||
#define PLAT_BAUDRATE (115200)
|
||||
#define PLAT_UART_CLOCK (100000000)
|
||||
|
||||
#else
|
||||
#if PLAT_SOCFPGA_EMULATOR
|
||||
#define PLAT_BAUDRATE (4800)
|
||||
#define PLAT_UART_CLOCK (76800)
|
||||
|
||||
#else
|
||||
#define PLAT_BAUDRATE (115200)
|
||||
#define PLAT_UART_CLOCK (100000000)
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -49,5 +49,4 @@ PROGRAMMABLE_RESET_ADDRESS := 0
|
|||
BL2_AT_EL3 := 1
|
||||
BL2_INV_DCACHE := 0
|
||||
MULTI_CONSOLE_API := 1
|
||||
SIMICS_BUILD := 0
|
||||
USE_COHERENT_MEM := 1
|
||||
|
|
|
@ -77,5 +77,4 @@ BL31_SOURCES += \
|
|||
|
||||
PROGRAMMABLE_RESET_ADDRESS := 0
|
||||
BL2_AT_EL3 := 1
|
||||
SIMICS_BUILD := 0
|
||||
USE_COHERENT_MEM := 1
|
||||
|
|
Loading…
Add table
Reference in a new issue