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

Tom Rini trini at konsulko.com
Sat Dec 23 12:42:03 UTC 2017


On Sat, Dec 23, 2017 at 07:07:00PM +0800, Bin Meng wrote:
> 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

OK.

> >  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'?

It was, but I didn't do git format-patch -M, I'll do that for v2.
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171223/19b25e80/attachment.sig>


More information about the U-Boot mailing list