Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Masahiro Yamada | 8603a30 | 2017-05-12 22:49:02 +0900 | [diff] [blame] | 2 | /* |
3 | * Copyright (C) 2017 Socionext Inc. | ||||
Masahiro Yamada | 8603a30 | 2017-05-12 22:49:02 +0900 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #include <linux/linkage.h> | ||||
7 | |||||
8 | ENTRY(lowlevel_init) | ||||
9 | /* LD20 needs the following code to boot. I do not know why. */ | ||||
10 | mrs x0, sctlr_el1 | ||||
11 | msr sctlr_el1, x0 | ||||
12 | ret | ||||
13 | ENDPROC(lowlevel_init) |