u-boot/arch/arm/mach-uniphier/arm32/late_lowlevel_init.S
Masahiro Yamada 4bab70a77d ARM: uniphier: rename outer-cache register macros
Sync register macros with Linux code.  This will be helpful to
develop the counterpart of Linux.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2016-07-24 00:17:15 +09:00

19 lines
350 B
ArmAsm

/*
* 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)