diff options
author | Priyanka Jain <Priyanka.Jain@freescale.com> | 2013-09-25 05:11:19 (GMT) |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-10-16 23:15:16 (GMT) |
commit | 0dd38a35f462b3ba28a49cda2dc80ef57eb52acd (patch) | |
tree | bfb78890aed1b2b08a3ecbeaaefcc03e79e6b9c2 /board/freescale/t4qds/ddr.c | |
parent | 262737f05aa94b29d24f21d7eae89756c242df8e (diff) | |
download | u-boot-0dd38a35f462b3ba28a49cda2dc80ef57eb52acd.tar.xz |
powerpc: Fix CamelCase warnings in DDR related code
Some DDR related structures present in fsl_ddr_dimm_params.h, fsl_ddr_sdram.h, ddr_spd.h
has various parameters with embedded acronyms capitalized that trigger the CamelCase
warning in checkpatch.pl
Convert those variable names to smallcase naming convention and modify all files
which are using these structures with modified structures.
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Diffstat (limited to 'board/freescale/t4qds/ddr.c')
-rw-r--r-- | board/freescale/t4qds/ddr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/t4qds/ddr.c b/board/freescale/t4qds/ddr.c index 26ac2a5..d70c310 100644 --- a/board/freescale/t4qds/ddr.c +++ b/board/freescale/t4qds/ddr.c @@ -56,7 +56,7 @@ void fsl_ddr_board_options(memctl_options_t *popts, popts->wrlvl_start = pbsp->wrlvl_start; popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; - popts->twoT_en = pbsp->force_2T; + popts->twot_en = pbsp->force_2t; goto found; } pbsp_highest = pbsp; @@ -75,7 +75,7 @@ void fsl_ddr_board_options(memctl_options_t *popts, popts->wrlvl_start = pbsp_highest->wrlvl_start; popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; - popts->twoT_en = pbsp_highest->force_2T; + popts->twot_en = pbsp_highest->force_2t; } else { panic("DIMM is not supported by this board"); } |