microblaze: Enable asm optimization only for HW with barrel-shifter
authorMichal Simek <monstr@monstr.eu>
Mon, 26 Oct 2009 08:56:48 +0000 (09:56 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:01 +0000 (08:45 +0100)
commit27d2a3ee5e9874e400b59d802405b58b65a8a723
tree4953836efbe75ab25c68018a8588bf662ffe64f8
parent3e78e4e5eaf6a85b8cdcc880bb46c1e4b4b79cc2
microblaze: Enable asm optimization only for HW with barrel-shifter

Asm code uses barrel-shifter instruction that's why we have
to protect cases when HW don't have it.

Reported-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/platform/Kconfig.platform