]> git.sur5r.net Git - u-boot/commit
ARM: tegra: fix variable naming in query_sdram_size()
authorStephen Warren <swarren@nvidia.com>
Tue, 23 Dec 2014 17:34:50 +0000 (10:34 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 4 Mar 2015 17:08:56 +0000 (10:08 -0700)
commit3a2cab512c0c4d96d8210e4f729dd080bbf8c90d
treefe47189df28d6359c6518b276fa2db3d4b307284
parent1e4d11a58c0d68443c7953fff6577fd6d339a34b
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>
arch/arm/mach-tegra/board.c