Mutex to avoid concurrent NAND, NOR access

The QorIQ LS1024A (aka Comcerto 2000) appears to not properly arbitrate between
NOR and NAND access. On the scope, we see two chip select lines active at the
same time. This patch introduces a global mutex to coordinate between the NOR
and the NAND driver.

This patch has been provided by Freescale.

Change-Id: I7d8a6f8067a47606e280277c8d71223f4f66466a
4 files changed