[U-Boot-Users] ARM: DEBUG defined in MTD via NAND

19 Jun
2008
19 Jun
'08
5:42 p.m.
lib_arm/board.c now includes nand.h which in turn includes linux/mtd/mtd.h which defines DEBUG
So all of the #ifdef DEBUG code is getting built, which I'm sure isn't intentional.
I'm not sure if this was already fixed -- but I couldn't find any patches in the list archive.
Anyone already handle this one?
Regards, --Scott

19 Jun
19 Jun
6:22 p.m.
On Thu, Jun 19, 2008 at 11:42:29AM -0400, Scott McNutt wrote:
lib_arm/board.c now includes nand.h which in turn includes linux/mtd/mtd.h which defines DEBUG
So all of the #ifdef DEBUG code is getting built, which I'm sure isn't intentional.
I'm not sure if this was already fixed -- but I couldn't find any patches in the list archive.
Anyone already handle this one?
Ouch. I'll produce a patch shortly.
-Scott
6175
Age (days ago)
6175
Last active (days ago)
1 comments
2 participants
participants (2)
-
Scott McNutt
-
Scott Wood