]> git.baikalelectronics.ru Git - kernel.git/commit
omap: Fix MMC gpio_wp for BeagleBoard C2 and above
authorJarkko Nikula <jhnikula@gmail.com>
Thu, 24 Sep 2009 23:23:17 +0000 (16:23 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Sep 2009 23:23:17 +0000 (16:23 -0700)
commit62307745da3460c178a4554b4bb0ea467bfc6bee
tree22d3be3fd651c5758f0d5f14029804df8e194f9f
parentfb8a946ef6b4dfd992e251f598b643c1f6ad0aab
omap: Fix MMC gpio_wp for BeagleBoard C2 and above

Earlier BeagleBoards were using pad AH8 muxed to GPIO29 for MMC write-protect.
However, this signal has been changed to pad AG9 in board revision C2.

Fix this by adding mux configuration for pad AG9, runtime check for board
revisions and set the gpio number and pad muxing accordingly.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/mux.c
arch/arm/plat-omap/include/mach/mux.h