mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
fix(tegra194/ras): remove incorrect erxctlr assert
The ERXCTLR_EL1 register reads are RES0 for some error records leading to a false assert on a read back. This patch removes the assert on reading back the ERXCTLR_EL1 register to fix this issue. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I0cab30b12656a800ba87b8bb94b4c67a2331dee6
This commit is contained in:
parent
c43641ebf0
commit
e272c61ce8
1 changed files with 1 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2020-2021, NVIDIA Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -152,12 +152,6 @@ void tegra194_ras_enable(void)
|
|||
|
||||
/* enable specified errors, or set to 0 if no supported error */
|
||||
write_erxctlr_el1(err_ctrl);
|
||||
|
||||
/*
|
||||
* Check if all the bit settings have been enabled to detect
|
||||
* uncorrected/corrected errors, if not assert.
|
||||
*/
|
||||
assert(read_erxctlr_el1() == err_ctrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue