ARM: highbank: avoid L2 cache smc calls when PL310 is not present
authorRob Herring <rob.herring@calxeda.com>
Sun, 18 Aug 2013 01:10:28 +0000 (20:10 -0500)
committerRob Herring <rob.herring@calxeda.com>
Fri, 23 Aug 2013 01:48:42 +0000 (20:48 -0500)
While Midway firmware handles L2 smc calls as nops, the custom smc calls
present a problem when running virtualized Midway guest. They aren't
needed so just avoid calling them.

In the process, cleanup the L2X0 ifdefs and use IS_ENABLED instead.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>

No differences found