]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4604/2: AT91: Master clock divistor on SAM9
authorAndrew Victor <andrew@sanpeople.com>
Mon, 19 Nov 2007 10:52:09 +0000 (11:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Nov 2007 19:40:25 +0000 (19:40 +0000)
commita95c729b7484d2bbb9ab6beef4865641e73deb99
tree365e8db2c426fbd87cab93107243f1f8b4519f8e
parent2ffbb8377c7a0713baf6644e285adc27a5654582
[ARM] 4604/2: AT91: Master clock divistor on SAM9

The calculation for the Master clock divisor (MDIV) is different on the
SAM9 processors than on the AT91RM9200.

Orignal patch from Sascha Erlacher.

Also use the defined AT91_PMC_PRES instead of hard-coded bitmasks.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/clock.c