[U-Boot-Users] include/ppc_defs.h

vb vb at vsbe.com
Wed Apr 11 03:05:36 CEST 2007


Wolfgang, thanks a lot for a quick reply!

\v

On 4/10/07, Wolfgang Denk <wd at denx.de> wrote:
> Dear Vadim,
>
> in message <f608b67d0704101648v320fba98n7c815d2427ee73aa at mail.gmail.com> you wrote:
> >
> > I have a question regarding this file(include/ppc_defs.h)
>
> Woiw. You managed to find a  file  in  U-Boot  that  has  never  been
> touched  since  the  initial  checkin  to  the (by then) PPCBoot tree
> (well, actually there was a modification - I added a GPL header about
> 7 years ago :-)
>
> > This file has the following comment in it:
> >
> > /*
> >  * WARNING! This file is automatically generated - DO NOT EDIT!
> >  */
> >
> > but it clearly is not autogenerated in u-boot, It must have been
> > picked up in Linux at some point in the past.
>
> Right. It used to get created by a make rule in the 2.4 Linux kernel
> tree (see arch/ppc/kernel/Makefile).
>
> > I actually need to change it (have the exception register set include
> > a couple of extra registers; {C}SRR0 and {C}SRR1) - can I just edit it
> > or is there a more complicated procedure?
>
> Please feel free to clean it up - remove unused #define's and add what
> you need. Please also remove the "DO NOT EDIT" comment.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
> Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> In accord with UNIX philosophy, Perl gives you enough  rope  to  hang
> yourself.              - L. Wall & R. L. Schwartz, _Programming Perl_
>




More information about the U-Boot mailing list