[U-Boot-Users] warnings, boards, RE: [PATCH]: Enable device ...

Wolfgang Denk wd at denx.de
Mon Jun 23 18:24:39 CEST 2003


Dear Richard,

in message <FD2AC9A020DDD51194710008C7089B20053D4CA6 at dlee17.itg.ti.com> you wrote:
> 
> Yes, I fixed all but one type of warning in my tree this weekend.  I was
> somewhat embarrassed that I didn't fix the two simple ones in the patch I
> sent.  I shall be more careful.

Just run MAKEALL ...

> Is there a clean way to make this warning go away while keeping the code
> savings by using the goto in these cases?  I've not tried very hard to make
> it go away...

Just change:
	label:
into:
	label:	;

(i. e. add a null statement).

> Also, I was wondering when its appropriate to attempt to add a board into
> the main tree.  I have a working port to a new processor type, but the board
> I'm working on is only a stepping stone to a more main stream board.

There are no general rules. As soon as there  is  something  that  is
either usable or otherwise useful to others, I recommend to add it.

> Putting code for this board into the main tree will result in a port which
> won't be maintained, but does have some value for others doing trying to do
> the same....at the moment I plan to hold off and submit the other board when
> it enters production....but I don't really want to have to redo work if
> someone else enters a port in the mean time...

So submit the patches now.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"A fractal is by definition a set for which the Hausdorff Besicovitch
dimension strictly exceeds the topological dimension."
- Mandelbrot, _The Fractal Geometry of Nature_




More information about the U-Boot mailing list