include/asm-ppc/platforms/
Tom Rini
trini at kernel.crashing.org
Sun Dec 2 09:41:53 EST 2001
On Sat, Dec 01, 2001 at 05:22:47PM -0500, Dan Malek wrote:
>
> Frank Rowand wrote:
>
>
>
> >If I understand correctly, you are talking only about the configuration
> >structure, not the header file structure -- so a different topic than
> >what this thread has been.
>
> I'm talking about both. Yes, I know the configuration has been mostly
> changed, but today the ibm4xx.h file includes ibm405gp.h which then
> includes walnut.h. This is totally backward.
It used to be like that. It's now ibm4xx.h -> board.h -> proc.h
> The ibm4xx.h file (and the mpc8xx.h file) should be replaced by an
> appropriate platform.h file which would remove all of the ifdefs we
> currently have in the include lists of the C files and some of the
> problems with multiple definitions these ifdefs are in place to solve.
Maybe we can do this in 2.5. We've already got the bits around for
making symlinks from CONFIG_FOO -> foo.h, and an empty foo.h if it
doesn't exist. So we could do CONFIG_8xx -> symlink
include/asm-ppc/platform to mpc-8xx, and so on..
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list