summaryrefslogtreecommitdiff
path: root/include/configs/bayleybay.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2015-09-25 10:44:08 -0600
committerTom Warren <twarren@nvidia.com>2015-10-02 11:05:56 -0700
commitfe82857c4b1667fff8108eab77340ae76016215a (patch)
treea23c7e0cbb019abcf8614ed0192d54f4fac1613e /include/configs/bayleybay.h
parent9f75a222c7ff8f475e74252c71c3e83e4aef62c5 (diff)
downloadu-boot-imx-fe82857c4b1667fff8108eab77340ae76016215a.zip
u-boot-imx-fe82857c4b1667fff8108eab77340ae76016215a.tar.gz
u-boot-imx-fe82857c4b1667fff8108eab77340ae76016215a.tar.bz2
gpio: tegra: use named constants
In order to make it clear what the parameters to set_config() and set_direction() mean, and similarly for the return values from the respective get_*(), define named constants for these values. Disassembly shows no diff in the generated code, except that the order of the code in the branches of tegra_gpio_get_function() gets modified without affecting behaviour. Suggested-by: Tom Warren <twarren@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/bayleybay.h')
0 files changed, 0 insertions, 0 deletions