Masahiro Yamada | 2ec870d | 2015-03-23 00:07:29 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 Socionext Inc. |
| 3 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #include <linux/linkage.h> |
Masahiro Yamada | b7717a5 | 2015-03-23 00:07:32 +0900 | [diff] [blame] | 9 | #include <mach/ssc-regs.h> |
Masahiro Yamada | 2ec870d | 2015-03-23 00:07:29 +0900 | [diff] [blame] | 10 | |
| 11 | ENTRY(lowlevel_init) |
Masahiro Yamada | b7717a5 | 2015-03-23 00:07:32 +0900 | [diff] [blame] | 12 | ldr r1, = SSCC |
| 13 | ldr r0, [r1] |
| 14 | bic r0, r0, #SSCC_ON @ L2 disable |
| 15 | str r0, [r1] |
Masahiro Yamada | 2ec870d | 2015-03-23 00:07:29 +0900 | [diff] [blame] | 16 | mov pc, lr |
| 17 | ENDPROC(lowlevel_init) |