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/