ARM:omap:am335x: BeagleBone version detection and support for old boards v3.1-rc8_AM335xPSP_04.06.00.02
authorJoel A Fernandes <joelagnel@ti.com>
Fri, 28 Oct 2011 10:51:15 +0000 (16:21 +0530)
committerSekhar Nori <nsekhar@ti.com>
Fri, 28 Oct 2011 10:51:34 +0000 (16:21 +0530)
commit8900fa3b25de9724ee026e4762e0521dfcbc1d27
tree6cbf480b780c5547117631d4f548365660a2381b
parenta9bca64cf96ea0796de07798c8966a5a983dfb00
ARM:omap:am335x: BeagleBone version detection and support for old boards

* Have different dev_cfg structures and setup functions for new, old
  beaglebone boards setup pin mux accordingly

* Fall back to older Bone boards if EEPROM reads are incorrect or empty

* Read version field of EEPROM config to call correct setup_beaglebone
  function according to board version

While at it, clean-up a bad comment style in existing code.

Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-omap2/board-am335xevm.c