aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <[email protected]>2008-12-25 18:17:09 +0900
committerPaul Mundt <[email protected]>2009-01-27 14:49:09 +0900
commit18801be7f805b891876a6676ec7fac2e1acdec13 (patch)
tree71b4366a89ac25980dc16bc1b33fbc6943f1155c /include
parent5376071069ec8a7e6a8112beab16fc24f5139475 (diff)
sh: make gpio_get/set_value() O(1)
This patch modifies the table based SuperH gpio implementation to make use of direct table lookups. With this change the functions gpio_get_value() and gpio_set_value() are O(1). Tested on Migo-R using bitbanging mmc. Performance is improved from 11 KBytes/s to 26 Kbytes/s. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions