arm: imx6: fix pcie by disabling rc/ep test mode

Fix PCIe operation by disabling RC/EP test mode which according to the
following community forum post is only used on the PCIe EP/RC
validation system and otherwise prevent PCIe from working properly:

https://community.freescale.com/thread/328257

Conflicts:
	arch/arm/configs/apalis_imx6_defconfig
        (doesn't exist in Boundary Devices tree)
caam: Re-apply HW Scatter/Gather Assigment Fix for ARM Platforms

Since the CAAM driver was originally written for a BE (Power) platform,
the original definition of the hardware scatter/gather list was
incompatible with LE (ARM) platforms, and therefore was redefined for
both platforms in the i.MX branch during the original 2012 port for
i.MX6. Some of these changes were introduced in a patch entitled
"Rework scatterlist handling for bi-endian platforms" and committed
on 05-July-2012.

The very last change in this patch amended an inline population function
such that the length assignment would OR-preserve the co-resident E
(extended) or F (final entry) bits if used. In the 2 years hence, the
single change had been lost. Thererfore, this patch reintroduces the
necessary change.

Signed-off-by: Steve Cornelius <steve.cornelius@freescale.com>
Merge remote-tracking branch 'upstream/boundary-imx_3.10.17_1.0.0_ga' into boundary-wand-imx_3.10.17_1.0.0_ga-rt