commit | 210bdb27d5d7d52470c02a36c12d04b1bb043cff | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Dec 23 10:34:50 2014 -0700 |
committer | Tom Warren <twarren@nvidia.com> | Wed Mar 04 10:08:56 2015 -0700 |
tree | fe47189df28d6359c6518b276fa2db3d4b307284 | |
parent | 0ba4a8a7e34cb37da4d702b6165542b84e826d10 [diff] |
ARM: tegra: fix variable naming in query_sdram_size() size_mb is used to hold a value that's sometimes KB, sometimes MB, and sometimes bytes. Use separate correctly named variables to avoid confusion here. Also fix indentation of a conditional statement. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>