diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-01-24 10:16:21 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2014-02-03 09:46:45 -0700 |
commit | 04b8e8e7452a4cd00003e33a5a736bd077ff3471 (patch) | |
tree | 3bcfb63f693939863b940c98d547bc7821fcbdaa /include/fsl_immap.h | |
parent | 54d2e182925de2be7018535ca5123e2566617540 (diff) | |
download | u-boot-imx-04b8e8e7452a4cd00003e33a5a736bd077ff3471.zip u-boot-imx-04b8e8e7452a4cd00003e33a5a736bd077ff3471.tar.gz u-boot-imx-04b8e8e7452a4cd00003e33a5a736bd077ff3471.tar.bz2 |
ARM: tegra: MASK_BITS_ no longer needs specific values
Since all code that sets or interprets MASK_BITS_* now uses the enums
to define/compare the values, there is no need for MASK_BITS_* to have
a specific integer value. In fact, having a specific integer value may
encourage people to hard-code those values, or interpret the values in
incorrect ways.
As such, remove the logic that assigns a specific value to the enum
values in order to make it completely clear that it's just an enum, not
something that directly represents some integer value.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/fsl_immap.h')
0 files changed, 0 insertions, 0 deletions