summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra124/tegra.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-02-03 14:03:24 -0700
committerTom Warren <twarren@nvidia.com>2014-03-05 16:59:07 -0700
commitcd7efc2a947b30a2047b248f66ddfa8b182fda64 (patch)
tree839d13b143d80afc1e2082f2c22dd3c1e011b574 /arch/arm/include/asm/arch-tegra124/tegra.h
parentcc07294bc704694ae33db75b25ac557e5917a83f (diff)
downloadu-boot-imx-cd7efc2a947b30a2047b248f66ddfa8b182fda64.zip
u-boot-imx-cd7efc2a947b30a2047b248f66ddfa8b182fda64.tar.gz
u-boot-imx-cd7efc2a947b30a2047b248f66ddfa8b182fda64.tar.bz2
ARM: tegra: move CONFIG_TEGRAnn
<asm/arch-tegra/tegra.h> needs to use CONFIG_TEGRA* to conditionalize some definitions, since some modules moved between generations. Move the definition of CONFIG_TEGRAnn to a header that's included earlier, so that it's set by the time tegra.h needs to use it. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra124/tegra.h')
-rw-r--r--arch/arm/include/asm/arch-tegra124/tegra.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra124/tegra.h b/arch/arm/include/asm/arch-tegra124/tegra.h
index db3d837..86ebd19 100644
--- a/arch/arm/include/asm/arch-tegra124/tegra.h
+++ b/arch/arm/include/asm/arch-tegra124/tegra.h
@@ -8,6 +8,8 @@
#ifndef _TEGRA124_H_
#define _TEGRA124_H_
+#define CONFIG_TEGRA124
+
#define NV_PA_SDRAM_BASE 0x80000000
#define NV_PA_TSC_BASE 0x700F0000 /* System Counter TSC regs */
#define NV_PA_MC_BASE 0x70019000 /* Mem Ctlr regs (MCB, etc.) */