diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-07-22 18:00:43 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-28 08:47:45 -0500 |
commit | dddb8d311157d054da5441385f681b8cc0e5a94b (patch) | |
tree | e4a21e86291c011382f68fc063792c560d995f37 /usr | |
parent | e517881e427757afc3cce6d76173b1d898b30ab3 (diff) | |
download | blackbird-op-linux-dddb8d311157d054da5441385f681b8cc0e5a94b.tar.gz blackbird-op-linux-dddb8d311157d054da5441385f681b8cc0e5a94b.zip |
cpm2: Rework baud rate generators configuration to support external clocks.
The CPM2 BRG setup functions cpm_setbrg and cpm2_fastbrg don't support
external clocks. This patch adds a new exported __cpm2_setbrg function
that takes the clock rate and clock source as extra parameters, and moves
cpm_setbrg and cpm2_fastbrg to include/asm-powerpc/cpm2.h where they
become inline wrappers around __cpm2_setbrg.
Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions