diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-31 18:05:32 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-01 14:21:34 +0200 |
commit | 98090cd75cdb40b2ab94c806c338540a5716748b (patch) | |
tree | 1e401a8b0b0b1b46f170d603edc8b58227faf346 /cpu/sh2 | |
parent | ab0df36fc7db9dda0b786b909f653e279dfeb9cf (diff) | |
download | u-boot-imx-98090cd75cdb40b2ab94c806c338540a5716748b.zip u-boot-imx-98090cd75cdb40b2ab94c806c338540a5716748b.tar.gz u-boot-imx-98090cd75cdb40b2ab94c806c338540a5716748b.tar.bz2 |
avr32: Add gclk helper functions
Add two helper functions for configuring and enabling generic clocks:
- gclk_enable_output: Enables output on a GCLKx pin
- gclk_set_rate: Configures a gclk to run at a specific rate
This should eliminate any reason to go mucking about with PM registers
from board code.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'cpu/sh2')
0 files changed, 0 insertions, 0 deletions