omap4: pandaboard: ehci fref_clkout per board revision
authorRicardo Salveti de Araujo <ricardo.salveti@linaro.org>
Thu, 14 Jul 2011 10:57:27 +0000 (16:27 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Thu, 14 Jul 2011 10:57:27 +0000 (16:27 +0530)
commit96070fa83144fb460d607489db302fb1578488d4
tree3044f4e8638553c19d471b24415384102d55e140
parent04b1732220078d47c18a84cbafc52e45db71f13d
omap4: pandaboard: ehci fref_clkout per board revision

Add support for correctly configuring the fref_clkout depending on the
board revision of the pandaboard. This patch is necessary to make u-boot
work with the smsc usb+ethernet driver.

Tested USB+Eth with TFTP and PXE using linaro u-boot:
http://git.linaro.org/gitweb?p=boot/u-boot-linaro-stable.git;a=summary

Based on patch from David Anders <x0132446@ti.com> from
omap4_panda_L24.9 branch at gitorious.org/pandaboard x-loader tree.

Changes since v1:
 * Moving the code from s_init instead of adding a new block

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/omap4430panda/omap4430panda.c