mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
imx8m: ddrphy_utils: Improve coding style
Currently checkpatch is not happy about this file: total: 14 errors, 2 warnings, 7 checks, 359 lines checked Improve the coding style so that it can now report: total: 0 errors, 0 warnings, 6 checks, 360 lines checked Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
195011b24d
commit
6cc30b2208
1 changed files with 15 additions and 14 deletions
|
@ -254,6 +254,7 @@ void get_trained_CDD(u32 fsp)
|
|||
g_cdd_ww_max[fsp] = cdd_cha_ww_max > cdd_chb_ww_max ? cdd_cha_ww_max : cdd_chb_ww_max;
|
||||
} else {
|
||||
unsigned int ddr4_cdd[64];
|
||||
|
||||
for (i = 0; i < 29; i++) {
|
||||
tmp = reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + (0x54012 + i) * 4);
|
||||
ddr4_cdd[i * 2] = tmp & 0xff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue