mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
x86: Move microcode code to a common location
This code is used on several Intel CPUs. Move it into a common location. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
1223d737a3
commit
9e66506d33
6 changed files with 8 additions and 4 deletions
23
arch/x86/include/asm/microcode.h
Normal file
23
arch/x86/include/asm/microcode.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2015 Google, Inc
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARCH_MICROCODE_H
|
||||
#define __ASM_ARCH_MICROCODE_H
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/**
|
||||
* microcode_update_intel() - Apply microcode updates
|
||||
*
|
||||
* Applies any microcode updates in the device tree.
|
||||
*
|
||||
* @return 0 if OK, -EEXIST if the updates were already applied, -ENOENT if
|
||||
* not updates were found, -EINVAL if an update was invalid
|
||||
*/
|
||||
int microcode_update_intel(void);
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue