From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 23 Dec 2017 07:42:03 -0500 Subject: [U-Boot] [PATCH] x86: Move commands from under arch/x86 to cmd/x86/ In-Reply-To: References: <1513962109-15198-1-git-send-email-trini@konsulko.com> Message-ID: <20171223124203.GS7592@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > > Signed-off-by: Tom Rini > > --- > > 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: