Re: [PATCH 2/2] spi: fsl-spi: Allow dynamic allocation of CPM1 parameter RAM

From: Mark Brown
Date: Fri Oct 03 2014 - 10:44:57 EST


On Fri, Oct 03, 2014 at 02:56:09PM +0200, Christophe Leroy wrote:

> +config CPM1_RELOCSPI
> + bool "Dynamic SPI relocation"
> + default n
> + help
> + On recent MPC8xx (at least MPC866 and MPC885) SPI can be relocated
> + without micropatch. This activates relocation to a dynamically
> + allocated area in the CPM Dual port RAM.
> + When combined with SPI relocation patch (for older MPC8xx) it avoids
> + the "loss" of additional Dual port RAM space just above the patch,
> + which might be needed for example when using the CPM QMC.

Something like this shouldn't be a compile time option. Either it
should be unconditional or it should be triggered in some system
specific manner (from DT, from knowing about other users or similar).

Attachment: signature.asc
Description: Digital signature