From: Robert Nelson Date: Fri, 24 Sep 2010 01:22:48 +0000 (-0700) Subject: omap: Beagle: only Cx boards use pin 23 for write protect X-Git-Tag: v2.6.37-rc1~121^2~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4916e117a4fcd001a1be777e406ec1f98b75de4;p=pandora-kernel.git omap: Beagle: only Cx boards use pin 23 for write protect system_rev comes from u-boot and is a constant 0x20, so Bx boards also fall in this 'if' and will get setup with the wrong gpio_wp pin. Switch to using the Beagle revision routine to correcly set pin 23 only for C1/2/3 and C4 Boards. Bx boards will then use the correct default pin setting. Signed-off-by: Robert Nelson Acked-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed