[U-Boot-Users] Source Code reading tool

Hello all,
I have been browsing through the u-boot source code for sometime now. U-boot code is filled with ifdefs and ifndefs and I found it a little difficult to go back to my board.h definition file to see the flags.
Is there a source code browsing tool, which given my set of #defines, that will through out the unnecessary code and show me only the needed code? I know that the "c" preprocessor could be used or may be, some perl/python script. I wanted to know if there was a tool that already did this.
Regards, G.Sibi

In message 513a5e60606131152w25a9af00y677d58c977aeff29@mail.gmail.com you wrote:
Is there a source code browsing tool, which given my set of #defines, that will through out the unnecessary code and show me only the needed code? I know that the "c" preprocessor could be used or may be, some
unifdef
But don't expect that this will improve your understanding of the code. Actually, it will reduce it. But it's your choice.
Best regards,
Wolfgang Denk
participants (2)
-
Madhu Saravana Sibi Govindan
-
Wolfgang Denk