Commit 78edaac4 authored by Varun Wadekar's avatar Varun Wadekar
Browse files

Tegra: bpmp: fix check to see if Atomics block is powered on


This patch fixes the logic to check if Atomics hardware block is powered
on during boot

Reported by: Peter De Schrijver <pdeschrijver@nvidia.com>

Change-Id: I4a6521bcee37225d1402321151c48fa631776b8a
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
Showing with 1 addition and 1 deletion
+1 -1
......@@ -136,7 +136,7 @@ int tegra_bpmp_init(void)
/* check if the atomics block is out of reset */
val = mmio_read_32(TEGRA_CAR_RESET_BASE + TEGRA_RST_DEV_CLR_V);
if ((val & CAR_ENABLE_ATOMICS) == 0) {
if ((val & CAR_ENABLE_ATOMICS) == CAR_ENABLE_ATOMICS) {
ERROR("Reset to the atomics block is asserted\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment