diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-12 18:26:50 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 06:49:02 -0500 |
commit | be25d875b924cbd50d49fd9f343e70d86b7ad7e0 (patch) | |
tree | 5c2d603caa829d82373aa799c66a3abb980b5232 /MAKEALL | |
parent | 4efe52bf23c96cee7052273bd8549caee4d0fdc2 (diff) | |
download | u-boot-imx-be25d875b924cbd50d49fd9f343e70d86b7ad7e0.zip u-boot-imx-be25d875b924cbd50d49fd9f343e70d86b7ad7e0.tar.gz u-boot-imx-be25d875b924cbd50d49fd9f343e70d86b7ad7e0.tar.bz2 |
Add pr_fmt() macro
This macro can be overridden in source files (before including common.h)
and can be used to specify a prefix for debug and error messages. An
example of how to use this is shown below:
#define pr_fmt(fmt) "foo: " fmt
#include <common.h>
...
debug("bar");
The resulting message will read:
foo: bar
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions