ARM: EXYNOS: Do not calculate boot address twice
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Sat, 13 Sep 2014 17:31:19 +0000 (02:31 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Sep 2014 17:31:19 +0000 (02:31 +0900)
commit68ba947c1208504080397b9fc55a0ae9ba92936d
tree13a3401e3eb34a01232ea35bc41c501fc018d6d5
parent9740bdd985277a7f71423738c34a2c88cd533f1c
ARM: EXYNOS: Do not calculate boot address twice

Commit b3205dea8fbf ("ARM: EXYNOS: Map SYSRAM through generic DT
bindings") introduced local variable boot_reg where boot address from
cpu_boot_reg() call is stored. Re-use it instead calling cpu_boot_reg()
again.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/platsmp.c