mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
committed by
Stefano Babic
parent
195011b24d
commit
6cc30b2208
@@ -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;
|
g_cdd_ww_max[fsp] = cdd_cha_ww_max > cdd_chb_ww_max ? cdd_cha_ww_max : cdd_chb_ww_max;
|
||||||
} else {
|
} else {
|
||||||
unsigned int ddr4_cdd[64];
|
unsigned int ddr4_cdd[64];
|
||||||
|
|
||||||
for (i = 0; i < 29; i++) {
|
for (i = 0; i < 29; i++) {
|
||||||
tmp = reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + (0x54012 + i) * 4);
|
tmp = reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + (0x54012 + i) * 4);
|
||||||
ddr4_cdd[i * 2] = tmp & 0xff;
|
ddr4_cdd[i * 2] = tmp & 0xff;
|
||||||
|
Reference in New Issue
Block a user