mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-13 14:53:28 +08:00
arm: exynos: clean up checkpatch issues
This patch will fix these checkpatch issues. ERROR: Macros with complex values should be enclosed in parentheses +#define DEFAULT_DQS_X4 (DEFAULT_DQS << 24) || (DEFAULT_DQS << 16) \ + || (DEFAULT_DQS << 8) || (DEFAULT_DQS << 0) ERROR: space prohibited before that ',' (ctx:WxW) + writel(val , &drex0->concontrol); ^ ERROR: space prohibited before that ',' (ctx:WxW) + writel(val , &drex1->concontrol); ^ Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
96094d4c46
commit
55a70c51ac
@ -20,8 +20,8 @@
|
||||
#define TIMEOUT_US 10000
|
||||
#define NUM_BYTE_LANES 4
|
||||
#define DEFAULT_DQS 8
|
||||
#define DEFAULT_DQS_X4 (DEFAULT_DQS << 24) || (DEFAULT_DQS << 16) \
|
||||
|| (DEFAULT_DQS << 8) || (DEFAULT_DQS << 0)
|
||||
#define DEFAULT_DQS_X4 ((DEFAULT_DQS << 24) || (DEFAULT_DQS << 16) \
|
||||
|| (DEFAULT_DQS << 8) || (DEFAULT_DQS << 0))
|
||||
|
||||
#ifdef CONFIG_EXYNOS5250
|
||||
static void reset_phy_ctrl(void)
|
||||
@ -856,10 +856,10 @@ int ddr3_mem_ctrl_init(struct mem_timings *mem, int reset)
|
||||
*/
|
||||
val = readl(&drex0->concontrol);
|
||||
val |= CONCONTROL_UPDATE_MODE;
|
||||
writel(val , &drex0->concontrol);
|
||||
writel(val, &drex0->concontrol);
|
||||
val = readl(&drex1->concontrol);
|
||||
val |= CONCONTROL_UPDATE_MODE;
|
||||
writel(val , &drex1->concontrol);
|
||||
writel(val, &drex1->concontrol);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user