aboutsummaryrefslogtreecommitdiff
path: root/board/menlo
diff options
context:
space:
mode:
authorTom Rini2022-09-26 11:27:30 -0400
committerTom Rini2022-09-26 11:27:30 -0400
commitffa2c88bcf8618b6d6fb71f5263beede9a179b20 (patch)
tree750fa5677f89e5b7b48d1510cba9978a2b13b15e /board/menlo
parent9114b7cee817789ad59e0fb6d5cd57f50668b4e1 (diff)
parent3c1ec13317292933fd01d9c60aae3ff1d5bc171e (diff)
Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-riscv into next
Diffstat (limited to 'board/menlo')
-rw-r--r--board/menlo/mx8menlo/mx8menlo.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/board/menlo/mx8menlo/mx8menlo.c b/board/menlo/mx8menlo/mx8menlo.c
index 9d3708a3637..61fc4ec85f0 100644
--- a/board/menlo/mx8menlo/mx8menlo.c
+++ b/board/menlo/mx8menlo/mx8menlo.c
@@ -12,24 +12,7 @@
#include <asm/mach-imx/iomux-v3.h>
#include <spl.h>
-#define SNVS_BASE_ADDR 0x30370000
-#define SNVS_LPSR 0x4c
-#define SNVS_LPLVDR 0x64
-#define SNVS_LPPGDR_INIT 0x41736166
-
-static void setup_snvs(void)
-{
- /* Enable SNVS clock */
- clock_enable(CCGR_SNVS, 1);
- /* Initialize glitch detect */
- writel(SNVS_LPPGDR_INIT, SNVS_BASE_ADDR + SNVS_LPLVDR);
- /* Clear interrupt status */
- writel(0xffffffff, SNVS_BASE_ADDR + SNVS_LPSR);
-}
-
void board_early_init(void)
{
init_uart_clk(1);
-
- setup_snvs();
}