diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-05-17 15:24:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-26 18:19:18 -0400 |
commit | de20e437945b40daa19064c1d3eca7d8f9635006 (patch) | |
tree | 5d2895d484ad8b1c78f514d57e2d692a199ca95c /arch/arm | |
parent | 320d2663688ab8ae6932a1711365e759ea1774be (diff) | |
download | u-boot-de20e437945b40daa19064c1d3eca7d8f9635006.zip u-boot-de20e437945b40daa19064c1d3eca7d8f9635006.tar.gz u-boot-de20e437945b40daa19064c1d3eca7d8f9635006.tar.bz2 |
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: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-stm32mp/spl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-stm32mp/spl.c b/arch/arm/mach-stm32mp/spl.c index b56f0c5..790973e 100644 --- a/arch/arm/mach-stm32mp/spl.c +++ b/arch/arm/mach-stm32mp/spl.c @@ -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: |