55c696c5b539c4b14b837d62de1500c416ea1f13
[platform/kernel/u-boot.git] / arch / arm / include / asm / opcodes-sec.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2012 ARM Limited
4  */
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 */