summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-12-23 10:34:50 -0700
committerTom Warren <twarren@nvidia.com>2015-03-04 10:08:56 -0700
commit3a2cab512c0c4d96d8210e4f729dd080bbf8c90d (patch)
treefe47189df28d6359c6518b276fa2db3d4b307284 /common/flash.c
parent1e4d11a58c0d68443c7953fff6577fd6d339a34b (diff)
downloadu-boot-imx-3a2cab512c0c4d96d8210e4f729dd080bbf8c90d.zip
u-boot-imx-3a2cab512c0c4d96d8210e4f729dd080bbf8c90d.tar.gz
u-boot-imx-3a2cab512c0c4d96d8210e4f729dd080bbf8c90d.tar.bz2
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>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions