On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: > This function converts static number to string in preprocessor. > This is useful as it allows higher usage of puts() in favour of printf()
a few more to convert: include/nios2.h:#define _str_(x) #x include/configs/astro_mcf5373l.h:#define _QUOTEME(x) #x include/configs/tegra2-common.h:#define QUOTE_(m) #m board/logicpd/zoom2/zoom2_serial.h:#define S(a) #a not sure if we also want to clean up (in case they're copied from Linux -- then we'd prob just leave these headers alone, but fix any usage outside of the headers to use your new stringify): arch/mips/include/asm/mipsregs.h:#define __STR(x) #x arch/powerpc/include/asm/processor.h:#define tostring(s) #s -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot