On Wed, Jan 3, 2018 at 9:54 PM, Tom Rini <tr...@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...@gmail.com>
> Signed-off-by: Tom Rini <tr...@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...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to