exynos5420: Fix the clock divisor mask.
The divisor mask had been set to 0xff, but the bitfield is 4 bits wide. BUG=chrome-os-partner:19420 TEST=Built and booted into RW on pit. A hang still prevents booting, but the EC RW was updated successfully. BRANCH=None Change-Id: Id8a205c80ca2fb0b6f0d86a0c3be4bba9527c0b5 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/63188 Reviewed-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
21aa183c8f
commit
c581a18416
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ void clock_ll_set_ratio(enum periph_id periph_id, unsigned divisor)
|
|||
{
|
||||
struct exynos5420_clock *clk = samsung_get_base_clock();
|
||||
unsigned shift;
|
||||
unsigned mask = 0xff;
|
||||
unsigned mask = 0xf;
|
||||
u32 *reg;
|
||||
|
||||
switch (periph_id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue