From b6c80356c72ce1dfce688a99d36db2ea47a744d8 Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 8 Aug 2017 00:38:56 -0500 Subject: arm: Try to lookup the SOC name from dt/compatible Just ARM for now, but maybe this will become more generic and it will be possible to have the processor package name and description seperate, even for x86 and whatnot. Also perhaps work in Sockets/Threads/Cores information. Signed-off-by: Burt P --- modules/devices/devicetree.c | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/devices/devicetree.c') diff --git a/modules/devices/devicetree.c b/modules/devices/devicetree.c index 7401a7b4..c07a3402 100644 --- a/modules/devices/devicetree.c +++ b/modules/devices/devicetree.c @@ -148,6 +148,7 @@ gchar *get_node(char *np) { return ret; } +/* different from dtr_get_string() in that it re-uses the existing dt */ char *get_dt_string(char *path, int decode) { dtr_obj *obj; char *ret = NULL; -- cgit v1.2.3