[U-Boot] [PATCH] x86: Move commands from under arch/x86 to cmd/x86/

Bin Meng bmeng.cn at gmail.com
Sat Dec 23 11:07:00 UTC 2017


Hi Tom,

On Sat, Dec 23, 2017 at 1:01 AM, Tom Rini <trini at konsulko.com> wrote:
> We only need to compile and link these files when building for full
> U-Boot.  Move them to under cmd/x86/ to make sure they aren't linked in
> and undiscarded due to u_boot_list_2_cmd_* being included).
>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/x86/lib/Makefile      |   1 -
>  arch/x86/lib/cmd_mtrr.c    | 139 -----------------------------------------
>  arch/x86/lib/fsp/Makefile  |   1 -
>  arch/x86/lib/fsp/cmd_fsp.c | 152 ---------------------------------------------
>  cmd/Makefile               |   2 +
>  cmd/x86/Makefile           |   6 ++
>  cmd/x86/cmd_fsp.c          | 152 +++++++++++++++++++++++++++++++++++++++++++++

Drop the 'cmd_' prefix?

>  cmd/x86/cmd_mtrr.c         | 139 +++++++++++++++++++++++++++++++++++++++++

ditto

>  8 files changed, 299 insertions(+), 293 deletions(-)
>  delete mode 100644 arch/x86/lib/cmd_mtrr.c
>  delete mode 100644 arch/x86/lib/fsp/cmd_fsp.c
>  create mode 100644 cmd/x86/Makefile
>  create mode 100644 cmd/x86/cmd_fsp.c
>  create mode 100644 cmd/x86/cmd_mtrr.c

Looks the commit was not done via 'git mv'?

>

[snip]

Regards,
Bin


More information about the U-Boot mailing list