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 <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/185113
This commit is contained in:
parent
6bdaabbc06
commit
9caccd1e86
1 changed files with 9 additions and 9 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue