summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/late_lowlevel_init.S
blob: cce91dfac7bd16b8fb87c86dc2946356d245cbf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (C) 2015 Socionext Inc.
 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <linux/linkage.h>

#include "ssc-regs.h"

ENTRY(lowlevel_init)
	ldr	r1, = SSCC
	ldr	r0, [r1]
	bic	r0, r0, #SSCC_ON	@ L2 disable
	str	r0, [r1]
	mov	pc, lr
ENDPROC(lowlevel_init)