da850evm: Use clrbits function with correct endianess
authorChristian Riesch <christian.riesch@omicron.at>
Fri, 14 Jun 2013 12:22:36 +0000 (14:22 +0200)
committerTom Rini <trini@ti.com>
Fri, 26 Jul 2013 20:39:10 +0000 (16:39 -0400)
commit3864cb2133b8d4a45dbad603f7b0b9f051d617ff
tree57787024093fc02a3ddebe979747d8732ca1bae5
parentbf0e86606df37e3344b14d12e58aa8799a15fe37
da850evm: Use clrbits function with correct endianess

The current code uses clrbits_be32 which is incorrect since we are on
a little endian machine here. This patch fixes this issue and also removes
some unnecessary code: Reading the current GPIO bank state is not required
if we are using the SET and CLEAR GPIO registers for setting/clearing
bits.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
Cc: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
board/davinci/da8xxevm/da850evm.c