Commit 026330af41842e7752a291012428a5ddf2c06449

Authored by Khoronzhuk, Ivan
Committed by Tom Rini
1 parent 76300c0d2d

ARM: keystone: clock: fix main pll ratio div definitions

The definitions for div ratio supposed to be in hex and were added
in dec by mistake.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>

Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff

arch/arm/include/asm/arch-keystone/clock_defs.h
... ... @@ -102,11 +102,11 @@
102 102 #define PLL_BWADJ_LO_SMASK (PLL_BWADJ_LO_MASK << PLL_BWADJ_LO_SHIFT)
103 103 #define PLL_BWADJ_HI_MASK 0xf
104 104  
105   -#define PLLM_RATIO_DIV1 (PLLDIV_ENABLE | 0)
106   -#define PLLM_RATIO_DIV2 (PLLDIV_ENABLE | 0)
107   -#define PLLM_RATIO_DIV3 (PLLDIV_ENABLE | 1)
108   -#define PLLM_RATIO_DIV4 (PLLDIV_ENABLE | 4)
109   -#define PLLM_RATIO_DIV5 (PLLDIV_ENABLE | 17)
  105 +#define PLLM_RATIO_DIV1 (PLLDIV_ENABLE | 0x0)
  106 +#define PLLM_RATIO_DIV2 (PLLDIV_ENABLE | 0x0)
  107 +#define PLLM_RATIO_DIV3 (PLLDIV_ENABLE | 0x1)
  108 +#define PLLM_RATIO_DIV4 (PLLDIV_ENABLE | 0x4)
  109 +#define PLLM_RATIO_DIV5 (PLLDIV_ENABLE | 0x17)
110 110  
111 111 #endif /* _CLOCK_DEFS_H_ */