Home | History | Annotate | Download | only in asm
      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 */
     17