Skip to content
Snippets Groups Projects
Commit 3482f2c5 authored by Grant Likely's avatar Grant Likely
Browse files

of: Create of_console_check() for selecting a console specified in /chosen


The devicetree has a binding for specifying the console device in the
/chosen node, but the kernel doesn't use it consistently. This change
adds an API for testing if a device node is a console, and adds a
preferred console entry if it is.

At the same time this patch removes the of_device_is_stdout_path() API
since it is unused.

Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
Tested-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent a497c3ba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment