Misc 8260 fixes/options

Dan Malek dan at embeddededge.com
Wed Aug 28 15:46:30 EST 2002

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.


	-- Dan

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

More information about the Linuxppc-embedded mailing list