]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/arm64/lowlevel_init.S
ARM: uniphier: add weird workaround code for LD20
[u-boot] / arch / arm / mach-uniphier / arm64 / lowlevel_init.S
1 /*
2  * Copyright (C) 2017 Socionext Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <linux/linkage.h>
8
9 ENTRY(lowlevel_init)
10         /* LD20 needs the following code to boot.  I do not know why. */
11         mrs     x0, sctlr_el1
12         msr     sctlr_el1, x0
13         ret
14 ENDPROC(lowlevel_init)