commit | cd198d6dc40fc32ee81432fa0df1a27c290b3436 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Tue Nov 12 13:03:16 2013 -0700 |
committer | Olof Johansson <olof@lixom.net> | Thu Nov 14 10:44:31 2013 -0800 |
tree | e144eb0dd5a40865c7dd58e61b7b96165fe60619 | |
parent | 4fde38bb5bedfc9a395c07282476b3a0bd468a20 [diff] |
ARM: tegra: init fuse before setting reset handler 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>