Subject: Re: Misc 8260 fixes/options

From: Dan Malek <[email-masked]>
Date: Wed, 28 Aug 2002 01:46:30 -0400

Allen Curtis wrote:

> +#define _128KB			(128*1024U)
> +#define _256MB			(256*1024*1024U)
> +#define is_size_ok(x)		(!((x) < _128KB || (x) > _256MB))

I don't believe this is correct for all PowerPC processors that have BATs.
Can you verify this and ensure it works on everything?  I know 601s have
different sized BATs, and the caller of this function really needs to know
what they are doing to ensure this works correctly.

Thanks.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/