xref: /rk3399_rockchip-uboot/arch/x86/include/asm/microcode.h (revision 9e66506d33eac67bfa814ccba1c9ccd06bb5b107)
1 /*
2  * Copyright (c) 2015 Google, Inc
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef __ASM_ARCH_MICROCODE_H
8 #define __ASM_ARCH_MICROCODE_H
9 
10 #ifndef __ASSEMBLY__
11 
12 /**
13  * microcode_update_intel() - Apply microcode updates
14  *
15  * Applies any microcode updates in the device tree.
16  *
17  * @return 0 if OK, -EEXIST if the updates were already applied, -ENOENT if
18  * not updates were found, -EINVAL if an update was invalid
19  */
20 int microcode_update_intel(void);
21 #endif /* __ASSEMBLY__ */
22 
23 #endif
24