Skip to content
Snippets Groups Projects
Commit de20e437 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

stm32mp1: remove the second TAMP_BOOT_CONTEXT update


The register TAMP_BOOT_CONTEXT is already updated in
get_bootmode() in cpu.c and no need to be done
twice.

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 320d2663
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,6 @@ u32 spl_boot_device(void)
boot_mode = (readl(TAMP_BOOT_CONTEXT) & TAMP_BOOT_MODE_MASK) >>
TAMP_BOOT_MODE_SHIFT;
clrsetbits_le32(TAMP_BOOT_CONTEXT,
TAMP_BOOT_MODE_MASK,
boot_mode << TAMP_BOOT_MODE_SHIFT);
switch (boot_mode) {
case BOOT_FLASH_SD_1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment