Date:2011-03-20 21:26:45 (13 years 8 days ago)
Author:Maarten ter Huurne
Commit:8b04469b40f0bb82f1ab84862c1e56555ac59692
Message:MIPS: JZ4740: Corrected clock divider masks.

The wrong masks were introduced in commit 3f7d6a9a3d5c17d1b5fa8f93bdec2fc533f8a2f2.
Files: arch/mips/jz4740/clock.c (1 diff)

Change Details

arch/mips/jz4740/clock.c
5454#define JZ_CLOCK_CTRL_CDIV_OFFSET 0
5555#define JZ_CLOCK_CTRL_UDIV_MASK (0x3f << JZ_CLOCK_CTRL_UDIV_OFFSET)
5656#define JZ_CLOCK_CTRL_LDIV_MASK (0x1f << JZ_CLOCK_CTRL_LDIV_OFFSET)
57#define JZ_CLOCK_CTRL_MDIV_MASK (0x1f << JZ_CLOCK_CTRL_MDIV_OFFSET)
58#define JZ_CLOCK_CTRL_PDIV_MASK (0x1f << JZ_CLOCK_CTRL_PDIV_OFFSET)
59#define JZ_CLOCK_CTRL_HDIV_MASK (0x1f << JZ_CLOCK_CTRL_HDIV_OFFSET)
60#define JZ_CLOCK_CTRL_CDIV_MASK (0x1f << JZ_CLOCK_CTRL_CDIV_OFFSET)
57#define JZ_CLOCK_CTRL_MDIV_MASK (0x0f << JZ_CLOCK_CTRL_MDIV_OFFSET)
58#define JZ_CLOCK_CTRL_PDIV_MASK (0x0f << JZ_CLOCK_CTRL_PDIV_OFFSET)
59#define JZ_CLOCK_CTRL_HDIV_MASK (0x0f << JZ_CLOCK_CTRL_HDIV_OFFSET)
60#define JZ_CLOCK_CTRL_CDIV_MASK (0x0f << JZ_CLOCK_CTRL_CDIV_OFFSET)
6161
6262#define JZ_CLOCK_GATE_UART0 BIT(0)
6363#define JZ_CLOCK_GATE_TCU BIT(1)

Archive Download the corresponding diff file



interactive