All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] Tegra20: Move some code files to common directories for upcoming Tegra30 patches.
Date: Mon, 24 Sep 2012 11:54:30 -0600	[thread overview]
Message-ID: <50609E56.60602@wwwdotorg.org> (raw)
In-Reply-To: <1348260147-18969-2-git-send-email-twarren@nvidia.com>

On 09/21/2012 02:42 PM, Tom Warren wrote:
> Move files that are going to be common between T20 and T30 into 'tegra-common'
> subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any
> files that are left behind in '/tegra20' will be copied to '/tegra30' subdirs
> and modified for that SoC. The 'common' files should need only minor changes.
> 
> Include files (arch/arm/include/asm/arch-tegra/tegra20) will be done in a
> follow-on patch.

> diff --git a/Makefile b/Makefile
> index fe2f98c..584d398 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -318,6 +318,8 @@ LIBS-y += $(CPUDIR)/s5p-common/libs5p-common.o
>  endif
>  ifeq ($(SOC),tegra20)
>  LIBS-y += arch/$(ARCH)/cpu/$(SOC)-common/lib$(SOC)-common.o
> +LIBS-y += arch/$(ARCH)/cpu/tegra-common/libcputegra-common.o
> +LIBS-y += $(CPUDIR)/tegra-common/libtegra-common.o
>  endif

I assume that eventually (i.e. in the future, perhaps not as part of
these patches) arch/$(ARCH)/cpu/$(SOC)-common will go away, to be
replaced with just arch/$(ARCH)/cpu/tegra-common as added here, and the
regular arch/$(ARCH)/cpu/$(SOC) which is presumably added elsewhere for
every SoC?

Anyway, this patch,
Acked-by: Stephen Warren <swarren@nvidia.com>

  reply	other threads:[~2012-09-24 17:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 20:42 [U-Boot] [PATCH 0/2] Move Tegra20 files to common subdirs, prep for T30 Tom Warren
2012-09-21 20:42 ` [U-Boot] [PATCH 1/2] Tegra20: Move some code files to common directories for upcoming Tegra30 patches Tom Warren
2012-09-24 17:54   ` Stephen Warren [this message]
2012-09-24 19:45     ` Tom Warren
2012-09-24 19:57       ` Stephen Warren
2012-09-27 20:56   ` Simon Glass
2012-09-28  7:12   ` Igor Grinberg
2012-09-21 20:42 ` [U-Boot] [PATCH 2/2] Tegra20: Move some include files to arch-tegra for sharing with Tegra30 Tom Warren
2012-09-24 18:04   ` Stephen Warren
2012-09-24 19:51     ` Tom Warren
2012-09-27 20:57   ` Simon Glass
2012-09-28  7:13   ` Igor Grinberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50609E56.60602@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.