summaryrefslogtreecommitdiff
path: root/common/cmd_ext2.c
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2011-09-08 10:47:25 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-13 08:25:15 +0200
commit81bdc155c72ef9e093b388b90c58d8134d870976 (patch)
tree0bec6a9be05cd6067b02a0cc265ebd36a04b45bd /common/cmd_ext2.c
parent205c0658906751f343349f29092385fb45a7d3e8 (diff)
downloadu-boot-imx-81bdc155c72ef9e093b388b90c58d8134d870976.zip
u-boot-imx-81bdc155c72ef9e093b388b90c58d8134d870976.tar.gz
u-boot-imx-81bdc155c72ef9e093b388b90c58d8134d870976.tar.bz2
omap: gpio: Use generic API
Convert all OMAP specific functions to use the common API definitions in include/asm/gpio.h. In the process, made few additional changes: - Use -EINVAL consistently. -1 was used in many places. - Removed one-liner static functions that were used only once. Replaced the content as necessary. - Combines implementation of functions omap_get_gpio_dataout() and omap_get_gpio_datain(). To do so, new static function _get_gpio_direction() was added. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'common/cmd_ext2.c')
0 files changed, 0 insertions, 0 deletions