summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-08-14 16:12:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-16 08:40:37 +0200
commitb986f4f1ee4881c4c1d81738cf9f0366381f7066 (patch)
treeec9333b46094e958ec5bc1bfbfd43c19e59de959 /lib
parent8326bff00fd2a3aaa5f45a0c3de35a76ab767c83 (diff)
downloadbarebox-b986f4f1ee4881c4c1d81738cf9f0366381f7066.tar.gz
barebox-b986f4f1ee4881c4c1d81738cf9f0366381f7066.tar.xz
remove remaining references of CONFIG_BOARDINFO
With this all code uses barebox_get_model() and no longer a compile time generated string. Also this renames barebox_boardinfo() to barebox_get_model() since we are going to add the corresponding _set_ function and 'model' corresponds to the devicetree notion. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/process_escape_sequence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/process_escape_sequence.c b/lib/process_escape_sequence.c
index 612976b9d4..be77792787 100644
--- a/lib/process_escape_sequence.c
+++ b/lib/process_escape_sequence.c
@@ -54,7 +54,7 @@ int process_escape_sequence(const char *source, char *dest, int destlen)
dest[i++] = 0x1b;
break;
case 'h':
- i += snprintf(dest + i, destlen - i, "%s", barebox_boardinfo());
+ i += snprintf(dest + i, destlen - i, "%s", barebox_get_model());
break;
case 'w':
i += snprintf(dest + i, destlen - i, "%s", getcwd());