ARM: tegra: init fuse before setting reset handler
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 12 Nov 2013 20:03:16 +0000 (13:03 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 14 Nov 2013 18:44:31 +0000 (10:44 -0800)
CPU reset handler was set before fuse is initialized, but
tegra_cpu_reset_handler_enable() uses tegra_chip_id, which is set by
tegra_init_fuse(). This patch reorders the calls so the CPU reset
handler code does not read an uninitialized variable.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>

No differences found