diff options
author | Burt P <pburt0@gmail.com> | 2017-08-08 00:38:56 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-09 02:09:10 -0700 |
commit | b6c80356c72ce1dfce688a99d36db2ea47a744d8 (patch) | |
tree | d106557fd547ee774a0b0142a3cb9f9cce631017 /includes/dt_util.h | |
parent | f42c07153865afcacb61b2e36b50f8fc88851601 (diff) |
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 <pburt0@gmail.com>
Diffstat (limited to 'includes/dt_util.h')
-rw-r--r-- | includes/dt_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/dt_util.h b/includes/dt_util.h index b4506d19..7ef6808b 100644 --- a/includes/dt_util.h +++ b/includes/dt_util.h @@ -31,9 +31,9 @@ enum { DTP_DMAS, /* dma-specifier list */ }; -/* simplest, no aliases. +/* simplest, no aliases, doesn't require an existing dt. * use dtr_get_prop_str() for complete. */ -char* dtr_get_string(const char *p); +char* dtr_get_string(const char *p, int decode); typedef uint32_t dt_uint; /* big-endian */ |