mbox

[GIT,PULL,7/8] ARM: tegra: multi-platform conversion

Message ID 1365181426-11547-7-git-send-email-swarren@wwwdotorg.org
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git tegra-for-3.10-multiplatform

Message

Stephen Warren April 5, 2013, 5:03 p.m. UTC
This branch converts Tegra to support multi-platform/single-zImage.

One header is made accessible to drivers. The earlyprintk implementation
is moved to the multi-platform location. Some Kconfig changes are made
to enable multi-platform. Some dead files are deleted.

The APIs exposed in the now-global tegra-powergate.h should be replaced
with standard reset and power domain APIs in the future.

This branch is based on (part of) the previous soc pull request.

----------------------------------------------------------------

The following changes since commit 7495b2eb0770b85e58af98b99faaf853e9563784:

  ARM: tegra: add speedo-based process id for Tegra114

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git tegra-for-3.10-multiplatform

for you to fetch changes up to 9002722560ba86a2f59811e3d11a2575bf47e1f6:

  ARM: tegra: convert to multi-platform

----------------------------------------------------------------

Stephen Warren (2):
      ARM: tegra: move <mach/powergate.h> to <linux/tegra-powergate.h>
      ARM: tegra: convert to multi-platform

 arch/arm/Kconfig                                |   19 --
 arch/arm/mach-tegra/Kconfig                     |   27 ++-
 arch/arm/mach-tegra/Makefile.boot               |    3 -
 arch/arm/mach-tegra/board.h                     |    1 +
 arch/arm/mach-tegra/common.c                    |    2 -
 arch/arm/mach-tegra/include/mach/timex.h        |   26 ---
 arch/arm/mach-tegra/include/mach/uncompress.h   |  175 ------------------
 arch/arm/mach-tegra/pcie.c                      |    3 +-
 arch/arm/mach-tegra/powergate.c                 |    3 +-
 drivers/clk/tegra/clk-tegra30.c                 |    3 +-
 .../linux/tegra-powergate.h                     |    5 -
 11 files changed, 24 insertions(+), 243 deletions(-)
 delete mode 100644 arch/arm/mach-tegra/Makefile.boot
 delete mode 100644 arch/arm/mach-tegra/include/mach/timex.h
 delete mode 100644 arch/arm/mach-tegra/include/mach/uncompress.h
 rename arch/arm/mach-tegra/include/mach/powergate.h => include/linux/tegra-powergate.h (92%)

Comments

Arnd Bergmann April 9, 2013, 2:59 p.m. UTC | #1
On Friday 05 April 2013, Stephen Warren wrote:
> This branch converts Tegra to support multi-platform/single-zImage.
> 
> One header is made accessible to drivers. The earlyprintk implementation
> is moved to the multi-platform location. Some Kconfig changes are made
> to enable multi-platform. Some dead files are deleted.
> 
> The APIs exposed in the now-global tegra-powergate.h should be replaced
> with standard reset and power domain APIs in the future.
> 
> This branch is based on (part of) the previous soc pull request.
> 

Pulled into next/multiplatform, thanks a lot!

We now have a total of eight new platforms lined up for supporting a
multiplatform kernel in 3.10, and I still have some (limited) hope
for exynos.

I had to reorder the branches in arm-soc to avoid starting a
next/multiplatform2 branch, but I saw nothing that prevents us from
having multiplatform after soc.

	Arnd
Stephen Warren April 9, 2013, 9:49 p.m. UTC | #2
On 04/09/2013 02:01 PM, Arnd Bergmann wrote:
> On Tuesday 09 April 2013, Arnd Bergmann wrote:
>> On Friday 05 April 2013, Stephen Warren wrote:
>>> This branch converts Tegra to support multi-platform/single-zImage.
> 
>> I had to reorder the branches in arm-soc to avoid starting a
>> next/multiplatform2 branch, but I saw nothing that prevents us from
>> having multiplatform after soc.
> 
> I've applied this patch on top.
...
> Subject: [PATCH] ARM: tegra: build assembly files with -march=armv7-a
> 
> The tegra assembly files are written for ARMv7 and are not compatible
> with ARMv6, which leads to build warnings when compiling a dual
> ARMv6/v7 kernel. Since this code is only ever run on Tegra ARMv7
> hardware, we can tell the assembler which architecture level to
> use.

Ah yes, I hit that problem too, but wasn't sure how to solve it. The
patch below looks good. Now I must go try a combo bcm2835+Tegra kernel
on both devices...