Home
last modified time | relevance | path

Searched hist:"49 e789e353efaf97f84eca016c6a1b8a2b3e3d98" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/common/
H A Dfdt_wrappers.c49e789e353efaf97f84eca016c6a1b8a2b3e3d98 Thu Sep 02 16:00:06 UTC 2021 Andre Przywara <andre.przywara@arm.com> fix(fdt): avoid output on missing DT property

When we use our fdt_read_uint32* helper functions, we output a warning
on not finding the requested property.

However non-existing properties are not that uncommon, and *trying* to
read such a property is actually a nice way of checking its existence.

Since we already return a specific error value in this case, the caller
can easily check this and give a more specific error message, if needed.
When the caller decides to properly handle the error (fallback, default
value, etc), a message on the console is quite misleading.

Demote the message to a VERBOSE, so normal builds will not spam the
console with pointless messages.

Change-Id: I7a279a4ee0147c5f4a0503d0a8745c6cfea58be5
Signed-off-by: Andre Przywara <andre.przywara@arm.com>