Re: [PATCH 1/2] Freescale MPC52xx support for 2.6 - Base part

From: Kumar Gala
Date: Fri Jul 09 2004 - 10:52:34 EST



On Jul 8, 2004, at 7:30 PM, Sylvain Munaut wrote:

Kumar Gala wrote:

> A few comments:
>
> cputable.c: * the 8280/52xx, maybe we should just have G2_LE, (same
> core exists in 8272, 8249, etc.)

IMHO, yes it may be better.

> mpc52xx_setup.c: * what is cpu_52xx[]?

A table with coefficients taken from datasheet. They're used to
compute the core frequency according to XLB bus frequency and external
jumper configurations.

Mind adding the above as a comment in the code. :)

> ppcboot.h: * was bi_immr_base not sufficient?

I suppose your question is why create bi_mbar_base instead of using immr.
Well, I guess that would work just fine. The structure is just taken straight from U-Boot sources.

Yes that was what I was asking about, and fair enough if we are mirroring the u-boot structure. One of these days we will clean all of that up.

- kumar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/