Age | Commit message (Collapse) | Author |
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
spd-decode.c still has many labels that are untranslatable, or stuck in
c-format strings.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More easily translated.
* The strings are more likely to be re-usable.
* A small change to one, or to a shell param, does not lose all
of them.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
|
|
Also detect session type (Wayland, X11, etc).
|
|
Code is longer, but is more readable.
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* check if device tree was found before add_keys()
* UNKIFNULL(model) before strcmp
* make UNKIFNULL() STRIFNULL() EMPIFNULL() macros more generic
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
GLib-CRITICAL **: g_strchug: assertion 'string != NULL' failed
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Also, add a message log to the dtr object.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Cleans up code for lists of mixed-type elements.
appf() is like h_strdup_cprintf() but with a cute name,
logical param order and adds a space when the string is
not empty.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
When running Arch's AArch64 kernel on Raspberry Pi 3,
for example.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* fixes a strange bug when running under Arch
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Starting in Debian 9, ldconfig requires root, and so it can't be
used to get the GLIBC version. Try `ldd --version` first. It should
give the same results.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Of course, symbols and aliases are are the same
as in /__symbols__ and /aliases. It still helps a bit.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* /aliases/* and /__symbols/* are always strings
* phandle ref element bug fix, re-enabled phandle refs
* notes on a few more property types
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* dtr_str() requires obj, which knows its dtr.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Moved device tree functions to
modules/devices/devicetree/dt_util.c
* The dtr_* functions usable from outside devicetree.c,
for example in get_motherboard().
Must #include "dt_util.h"
* Now possible to use an alternate device tree root for testing
-DOVRDTRROOT=\"/some/path\"
* Alternately, pass dtr_new() an alternate base path.
* Abandoned the tuple grouping and inherited properties stuff
for now.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Based on information from
http://elinux.org/Device_Tree_Mysteries#.23xxx-cells_property_name
which is incomplete, try and group tuples using the relevant
inherited #(.*)-cells properies.
Just reg, clocks, and gpios so far. More possible.
See dt_tup_len().
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Initialize full_fmt to NULL so free() won't crash if it wasn't used.
Signed-off-by: Burt P <pburt0@gmail.com>
|