]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: ram: sdram_rk3x88: replace comma by semicolon
authorJohan Jonker <jbx6244@gmail.com>
Wed, 12 Jan 2022 16:32:11 +0000 (17:32 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 18 Mar 2022 10:12:03 +0000 (18:12 +0800)
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: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk3288.c

index d9ed8adfcfd05a74b37e8a8abe1243957f67d306..be8ba4464d45c011e8cf3f054757fd64ebf50c7d 100644 (file)
@@ -762,7 +762,7 @@ static int sdram_init(struct dram_info *dram,
                 * CS1, n=2
                 * CS0 & CS1, n = 3
                 */
-               sdram_params->ch[channel].rank = 2,
+               sdram_params->ch[channel].rank = 2;
                clrsetbits_le32(&publ->pgcr, 0xF << 18,
                                (sdram_params->ch[channel].rank | 1) << 18);
 
index f3e4a2808ab7ca19876642fcbd335a6e44007e08..227a3cc6a88d2be484ca095812b4d86c5aba0c00 100644 (file)
@@ -862,7 +862,7 @@ static int sdram_init(struct dram_info *dram,
                 * CS1, n=2
                 * CS0 & CS1, n = 3
                 */
-               sdram_params->ch[channel].rank = 2,
+               sdram_params->ch[channel].rank = 2;
                clrsetbits_le32(&publ->pgcr, 0xF << 18,
                                (sdram_params->ch[channel].rank | 1) << 18);