On Thu, Jun 26, 2014 at 11:43:10AM +0200, Holger Schurig wrote: > Your patch alone isn't all that's needed, the definition must still be > uncommented. Otherwise we'll get: > > drivers/of/base.c:1700:5: error: redefinition of 'of_add_memory' > include/of.h:233:50: note: previous definition of 'of_add_memory' was here Yep you are right. Sorry :-) Another solution would be to move the implementation for mem_generic in a seperate file which depends on CONFIG_OFTREE_MEM_GENERIC. This would work, but I don't know if we really need that to solve that, I think not. - Alex _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox