blob: 55c696c5b539c4b14b837d62de1500c416ea1f13 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0 */
Masahiro Yamadaa93297e2017-04-14 11:10:22 +09002/*
Masahiro Yamadaa93297e2017-04-14 11:10:22 +09003 * Copyright (C) 2012 ARM Limited
Masahiro Yamadaa93297e2017-04-14 11:10:22 +09004 */
5
6#ifndef __ASM_ARM_OPCODES_SEC_H
7#define __ASM_ARM_OPCODES_SEC_H
8
9#include <asm/opcodes.h>
10
11#define __SMC(imm4) __inst_arm_thumb32( \
12 0xE1600070 | (((imm4) & 0xF) << 0), \
13 0xF7F08000 | (((imm4) & 0xF) << 16) \
14)
15
16#endif /* __ASM_ARM_OPCODES_SEC_H */