[U-Boot] debugX macro
Marek Vasut
marek.vasut at gmail.com
Wed Oct 26 00:16:29 CEST 2011
> On Sun, Oct 23, 2011 at 12:23 PM, Wolfgang Denk <wd at denx.de> wrote:
> > Dear Marek Vasut,
> >
> > In message <201110231646.59439.marek.vasut at gmail.com> you wrote:
> >> I've been doing the debug() cleanup and found the debugX() macro is used
> >> only in very few patches. Maybe punting it altogether won't hurt.
> >>
> >> The following do use it:
> >> ./board/spc1920/hpi.c
> >> ./drivers/mtd/nand/s3c2410_nand.c
> >>
> >> Opinions?
> >
> > Dump it!
>
> I'm working on a patch to rework the net subsystem and I find it quite
> useful for filtering debug traces to a manageable level. I think it
> should stay around.
>
> Thanks
> -Joe
Hi Joe,
why can't you just reimplement it properly with your patchset ? Currently, all
the uses of this macro in the tree are bogus so your code might be a good
example.
Cheers
More information about the U-Boot
mailing list