From af9403451fbf1d43ce50e353199938f11e7b1ea2 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Tue, 24 Jan 2012 10:57:20 +0530 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/14683 --- include/configs/tegra-common.h | 3 +++ include/configs/tegra2-common.h | 2 ++ include/configs/tegra3-common.h | 1 + 3 files changed, 6 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3