• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2/*
3 * Copyright (c) 2018 Microsemi Corporation
4 */
5
6#include <asm/asm.h>
7#include <asm/regdef.h>
8
9    .set noreorder
10    .extern     vcoreiii_tlb_init
11#ifdef CONFIG_SOC_LUTON
12    .extern     pll_init
13#endif
14
15LEAF(lowlevel_init)
16	/*
17	 * As we have no stack yet, we can assume the restricted
18	 * luxury of the sX-registers without saving them
19	 */
20	move	s0,ra
21
22	jal	vcoreiii_tlb_init
23	 nop
24#ifdef CONFIG_SOC_LUTON
25	jal	pll_init
26	 nop
27#endif
28	jr	s0
29	 nop
30	END(lowlevel_init)
31