]> git.openfabrics.org - ~emulex/infiniband.git/commit
sh: mach-sdk7786: Detect/configure/propagate EXTAL.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 19 Jan 2010 10:38:36 +0000 (19:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 19 Jan 2010 10:38:36 +0000 (19:38 +0900)
commitc8098218271d19e7123d8b9137b9a4b87e5ffec0
tree9b64d3b25bf34c6e6270aa17a5cc6275626a170c
parent43a1839cb1e0e0ed08b8ace0adb3716865fd0c4c
sh: mach-sdk7786: Detect/configure/propagate EXTAL.

This uses the mode pins exposed through the FPGA to work out whether
we're driven from EXTAL or not and does the appropriate setup and
propagation through the clock framework.

This will also -EINVAL out for anyone adding in their own oscillators,
forcing proper configuration with the clock framework instead of
proceeding on with bogus clock values.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-sdk7786/setup.c