summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-01-24 10:57:20 +0530
committerGerrit <chrome-bot@google.com>2012-02-16 08:18:56 -0800
commitaf9403451fbf1d43ce50e353199938f11e7b1ea2 (patch)
tree13c311bd6872154ecc1e8aee64e42e760ce3f6e5
parentb3d01c15e9cfe3d28f3947eaded1da5dea02ea57 (diff)
arm: config: tegra: add bct offset address
BUG=chromium-os:23496 TEST=build for Cardhu, Waluigi and Seaboard Change-Id: I32dbfa02ac1d6954b3a7e515914fbc0b6695f98b Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: https://gerrit.chromium.org/gerrit/14683
-rw-r--r--arch/arm/include/asm/arch-tegra/warmboot.h2
-rw-r--r--include/configs/tegra-common.h3
-rw-r--r--include/configs/tegra2-common.h2
-rw-r--r--include/configs/tegra3-common.h1
4 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-tegra/warmboot.h b/arch/arm/include/asm/arch-tegra/warmboot.h
index c1a9a15929..be264900bd 100644
--- a/arch/arm/include/asm/arch-tegra/warmboot.h
+++ b/arch/arm/include/asm/arch-tegra/warmboot.h
@@ -24,8 +24,6 @@
#ifndef _WARM_BOOT_H_
#define _WARM_BOOT_H_
-#define BCT_OFFSET 0x100 /* BCT starts at 0x100 */
-#define BCT_SDRAM_PARAMS_OFFSET (BCT_OFFSET + 0x88)
#define SDRAM_PARAMS_BASE (AP20_BASE_PA_SRAM + BCT_SDRAM_PARAMS_OFFSET)
/* bit fields definitions for APB_MISC_GP_HIDREV register */
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 4614cbfb6b..21ddcdf7a9 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -160,6 +160,9 @@
*/
#define CONFIG_SYS_BOOTMAPSZ (1 << 25)
+/* BCT starts at 0x100 in RAM */
+#define BCT_OFFSET 0x100
+
/*
* Defines the regen_all variable, which is used by other commands
* defined in this file. Usage is to override one or more of the environment
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index 22cff46acc..8396dc4d3b 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -159,4 +159,6 @@
#define CONFIG_SYS_TEXT_BASE 0x00E08000
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
+#define BCT_SDRAM_PARAMS_OFFSET (BCT_OFFSET + 0x88)
+
#endif /* __TEGRA2_COMMON_H */
diff --git a/include/configs/tegra3-common.h b/include/configs/tegra3-common.h
index abd60bbacd..3a5f234930 100644
--- a/include/configs/tegra3-common.h
+++ b/include/configs/tegra3-common.h
@@ -126,5 +126,6 @@
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_INITRD_TAG /* enable initrd ATAG */
+#define BCT_SDRAM_PARAMS_OFFSET (BCT_OFFSET + 0x148)
#endif /* __TEGRA3_COMMON_H */