summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/arm32/late_lowlevel_init.S
blob: 001d732e39726b8fad81730b05a4f60f32c04895 (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, = UNIPHIER_SSCC
	ldr	r0, [r1]
	bic	r0, r0, #UNIPHIER_SSCC_ON	@ L2 disable
	str	r0, [r1]
	mov	pc, lr
ENDPROC(lowlevel_init)