[PATCH v2 03/25] x86: mp_init: Avoid declarations in header files

Bin Meng bmeng.cn at gmail.com
Sun Jun 28 07:23:12 CEST 2020


On Mon, Jun 15, 2020 at 1:00 AM Simon Glass <sjg at chromium.org> wrote:
>
> The functions used by the flight plan are declared in the header file but
> are not used in any other file.
>
> Move the flight plan steps down to just above where it is used so that we
> can make these function static.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> (no changes since v1)
>
>  arch/x86/cpu/mp_init.c    | 40 +++++++++++++++++++--------------------
>  arch/x86/include/asm/mp.h |  3 ---
>  2 files changed, 20 insertions(+), 23 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list