]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: move Armada 375 external abort logic as a quirk
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 12 Jun 2014 15:09:31 +0000 (17:09 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Jun 2014 17:38:21 +0000 (17:38 +0000)
commitd01d57a1ac8715df54143aa75e68bec5ef58c176
treea2c4f028abd5d6af9ee97bd502578ee05a5579bd
parentd692ad1f5f6b69b61b332cc896a870f985f45d98
ARM: mvebu: move Armada 375 external abort logic as a quirk

In preparation to a small re-organization of the initialization
sequence in board-v7.c, this commit moves the registration of the
custom external abort handler on Armada 375 later in the boot
sequence, and makes it more similar to the other quirks that we
already have. There is indeed no need to register this abort handler
particularly early, it simply needs to be registered before switching
to userspace.

In addition to this, this commit makes the registration of the custom
abort handler conditional on Armada 375 Z1, because Armada 375 A0 and
later iterations are not affected by the issue.

This commit was tested on both Armada 375 Z1 and Armada 375 A0
platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1402585772-10405-3-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/board-v7.c