blob: cce91dfac7bd16b8fb87c86dc2946356d245cbf3 [file] [log] [blame]
Masahiro Yamada2ec870d2015-03-23 00:07:29 +09001/*
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 Yamadaefdf3402016-01-09 01:51:13 +09009
10#include "ssc-regs.h"
Masahiro Yamada2ec870d2015-03-23 00:07:29 +090011
12ENTRY(lowlevel_init)
Masahiro Yamadab7717a52015-03-23 00:07:32 +090013 ldr r1, = SSCC
14 ldr r0, [r1]
15 bic r0, r0, #SSCC_ON @ L2 disable
16 str r0, [r1]
Masahiro Yamada2ec870d2015-03-23 00:07:29 +090017 mov pc, lr
18ENDPROC(lowlevel_init)