summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/odm_kit
diff options
context:
space:
mode:
authorSuresh Mangipudi <smangipudi@nvidia.com>2010-01-29 09:43:18 +0530
committerSuresh Mangipudi <smangipudi@nvidia.com>2010-01-29 16:28:43 +0530
commitb316ca1eb00c1f8bd91ce8e3e3b09303a7c77a4d (patch)
tree45afae53410901b0ebf2ec2319408bb29dbaf810 /arch/arm/mach-tegra/odm_kit
parentbe2a66ed904211824cb577674ad531dbb557defb (diff)
tegra: OWR the offset calculation was not being done properly
The Offset calculation was done wrong while doing a read operation. This has been fixed now. The total size of the EPROM is being retrieved from the odm query, this value may vary for vendors. Addresses Bug 509729
Diffstat (limited to 'arch/arm/mach-tegra/odm_kit')
-rwxr-xr-x[-rw-r--r--]arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
index ed5e81da1d38..622a7663e777 100644..100755
--- a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
+++ b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
@@ -116,7 +116,8 @@ static const NvOdmQueryOwrDeviceInfo s_NvOdmQueryOwrInfo = {
0x7, /* Read data sample clk */
0x50, /* Presence sample clk */
- 2 /* Memory address size */
+ 2, /* Memory address size */
+ 0x80 /* Memory size*/
};
static const NvOdmSdramControllerConfigAdv s_NvOdmE1109EmcConfigTable[] =