summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/nvidia/tegra132/addressmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra132/addressmap.c b/src/soc/nvidia/tegra132/addressmap.c
index 65371872fe..4933484a7a 100644
--- a/src/soc/nvidia/tegra132/addressmap.c
+++ b/src/soc/nvidia/tegra132/addressmap.c
@@ -61,7 +61,7 @@ static void carveout_from_regs(uintptr_t *base_mib, size_t *size_mib,
*size_mib = size;
bom >>= 20;
- bom |= bom_hi >> (32 - 20);
+ bom |= bom_hi << (32 - 20);
*base_mib = bom;
}