[U-Boot] [PATCH 2/2] Tegra20: Move some include files to arch-tegra for sharing with Tegra30

Stephen Warren swarren at wwwdotorg.org
Mon Sep 24 20:04:18 CEST 2012


On 09/21/2012 02:42 PM, Tom Warren wrote:
> The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h.
> Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs
> that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20'
> 'root' file.

> diff --git a/arch/arm/include/asm/arch-tegra20/clock.h b/arch/arm/include/asm/arch-tegra20/clock.h

I think this file ends up essentially empty apart from just:

#include <asm/arch-tegra/clock.h>

Should files simply be modified to include that instead; it looks like
that file includes <asm/arch/clock-tables.h> in order to pick up the
differences between SoCs.

Aside from that, or perhaps even if you argue against making that change,

Acked-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list