Skip to content
Snippets Groups Projects
Commit 861682b5 authored by Johan Jonker's avatar Johan Jonker Committed by Kever Yang
Browse files

rockchip: ram: sdram_rk3x88: replace comma by semicolon


A comma at the end of a line gives sometimes strange
effects in combination with some code formatters,
so replace a comma by a semicolon in the sdram_rk3188.c
and sdram_rk3288.c files.

Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent b42297ba
No related branches found
No related tags found
No related merge requests found
...@@ -762,7 +762,7 @@ static int sdram_init(struct dram_info *dram, ...@@ -762,7 +762,7 @@ static int sdram_init(struct dram_info *dram,
* CS1, n=2 * CS1, n=2
* CS0 & CS1, n = 3 * CS0 & CS1, n = 3
*/ */
sdram_params->ch[channel].rank = 2, sdram_params->ch[channel].rank = 2;
clrsetbits_le32(&publ->pgcr, 0xF << 18, clrsetbits_le32(&publ->pgcr, 0xF << 18,
(sdram_params->ch[channel].rank | 1) << 18); (sdram_params->ch[channel].rank | 1) << 18);
......
...@@ -862,7 +862,7 @@ static int sdram_init(struct dram_info *dram, ...@@ -862,7 +862,7 @@ static int sdram_init(struct dram_info *dram,
* CS1, n=2 * CS1, n=2
* CS0 & CS1, n = 3 * CS0 & CS1, n = 3
*/ */
sdram_params->ch[channel].rank = 2, sdram_params->ch[channel].rank = 2;
clrsetbits_le32(&publ->pgcr, 0xF << 18, clrsetbits_le32(&publ->pgcr, 0xF << 18,
(sdram_params->ch[channel].rank | 1) << 18); (sdram_params->ch[channel].rank | 1) << 18);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment