[U-Boot] [PATCH v2] x86: Move commands from under arch/x86 to cmd/x86/
Bin Meng
bmeng.cn at gmail.com
Mon Jan 8 03:08:06 UTC 2018
On Wed, Jan 3, 2018 at 9:54 PM, 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>
> ---
> Changes in v2:
> - Format patch with -M
> - Drop 'cmd_' from the new file name (and checked file content for now
> erroneous cmd in comments, none found).
>
> arch/x86/lib/Makefile | 1 -
> arch/x86/lib/fsp/Makefile | 1 -
> cmd/Makefile | 2 ++
> cmd/x86/Makefile | 6 ++++++
> arch/x86/lib/fsp/cmd_fsp.c => cmd/x86/fsp.c | 0
> arch/x86/lib/cmd_mtrr.c => cmd/x86/mtrr.c | 0
> 6 files changed, 8 insertions(+), 2 deletions(-)
> create mode 100644 cmd/x86/Makefile
> rename arch/x86/lib/fsp/cmd_fsp.c => cmd/x86/fsp.c (100%)
> rename arch/x86/lib/cmd_mtrr.c => cmd/x86/mtrr.c (100%)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list