summaryrefslogtreecommitdiffstats
path: root/external/xscom-utils/getscom.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/xscom-utils/getscom.c')
-rw-r--r--external/xscom-utils/getscom.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/external/xscom-utils/getscom.c b/external/xscom-utils/getscom.c
index 96dcace4..81893dfa 100644
--- a/external/xscom-utils/getscom.c
+++ b/external/xscom-utils/getscom.c
@@ -74,10 +74,6 @@ static void print_chip_info(uint32_t chip_id)
}
-#define VERSION_STR _str(VERSION)
-#define _str(s) __str(s)
-#define __str(s) #s
-
int main(int argc, char *argv[])
{
uint64_t val, addr = -1ull;
@@ -112,7 +108,7 @@ int main(int argc, char *argv[])
list_chips = true;
break;
case 'v':
- printf("xscom utils version %s\n", VERSION_STR);
+ printf("xscom utils version %s\n", VERSION);
exit(1);
default:
exit(1);
OpenPOWER on IntegriCloud