[PATCH] powerpc/fsl: 85xx: add cache-sram support

Kumar Gala galak at kernel.crashing.org
Wed Oct 13 01:09:57 EST 2010


On Oct 12, 2010, at 5:25 AM, <harninder.rai at freescale.com> <harninder.rai at freescale.com> wrote:

> 
> +static int __devinit mpc85xx_l2ctlr_of_probe(struct platform_device *dev,
> +					  const struct of_device_id *match)
> +{
> +	long rval;
> +	unsigned int rem;
> +	unsigned char ways;
> +	const unsigned int *prop;
> +	unsigned int l2cache_size;
> +	struct device_node *np;
> +	int i = 0;
> +	bool amp = 0;
> +	struct sram_parameters sram_params;
> +	static char *compatible_list[] = {
> +					"fsl,MPC85XXRDB-CAMP",
> +					"fsl,P2020DS-CAMP",
> +					NULL
> +				};
> +

Remove this AMP stuff.  We specify the cache-sram-size & cache-sram-offset so for the AMP kernels these can be set as needed.

- k


More information about the Linuxppc-dev mailing list