From 9caccd1e86a8c683402fab87d9f3a49b87496e97 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Thu, 6 Feb 2014 13:01:47 +0800 Subject: [PATCH] tegra124: Fix MemoryType field name in SDRAM parameters. The MemoryType field name should be CamelCase so we can convert directly from BCT *.cfg files. The enum names for MemoryType are also changed. BRANCH=none BUG=none TEST=emerge-nyan chromeos-coreboot-nyan Change-Id: I03d881edcf22a86710e6fb1ff60659b4f999868f Signed-off-by: Hung-Te Lin Reviewed-on: https://chromium-review.googlesource.com/185113 --- src/soc/nvidia/tegra124/sdram_param.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/soc/nvidia/tegra124/sdram_param.h b/src/soc/nvidia/tegra124/sdram_param.h index 1f05566d55..33ab1516d1 100644 --- a/src/soc/nvidia/tegra124/sdram_param.h +++ b/src/soc/nvidia/tegra124/sdram_param.h @@ -33,25 +33,25 @@ enum { /* Specifies the memory type to be undefined */ - MEMORY_TYPE_NONE = 0, + NvBootMemoryType_None = 0, /* Specifies the memory type to be DDR SDRAM */ - MEMORY_TYPE_DDR = 0, + NvBootMemoryType_Ddr = 0, /* Specifies the memory type to be LPDDR SDRAM */ - MEMORY_TYPE_LPDDR = 0, + NvBootMemoryType_LpDdr = 0, /* Specifies the memory type to be DDR2 SDRAM */ - MEMORY_TYPE_DDR2 = 0, + NvBootMemoryType_Ddr2 = 0, /* Specifies the memory type to be LPDDR2 SDRAM */ - MEMORY_TYPE_LPDDR2, + NvBootMemoryType_LpDdr2, /* Specifies the memory type to be DDR3 SDRAM */ - MEMORY_TYPE_DDR3, + NvBootMemoryType_Ddr3, - MEMORY_TYPE_NUM, - MEMORY_TYPE_FORCE32 = 0X7FFFFFF + NvBootMemoryType_Num, + NvBootMemoryType_Force32 = 0X7FFFFFF, }; enum { @@ -69,7 +69,7 @@ enum { struct sdram_params { /* Specifies the type of memory device */ - uint32_t memory_type; + uint32_t MemoryType; /* MC/EMC clock source configuration */