diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-06-14 20:02:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-06-19 08:20:54 +0200 |
commit | 23522645b3b3d8366ab4307a0a0f0e9873e7bdb1 (patch) | |
tree | 5ecfb102a05bc5a7a69ff26bcc7952ad86319f4e /drivers/mtd/spi-nor | |
parent | 0e193b6684798e0fedf0eb0462ba9bc8059270c0 (diff) | |
download | barebox-23522645b3b3d8366ab4307a0a0f0e9873e7bdb1.tar.gz barebox-23522645b3b3d8366ab4307a0a0f0e9873e7bdb1.tar.xz |
of_device_is_stdout_path: split off options and support aliases
Several device trees use something like:
stdout-path = "serial0:115200n8";
Currently of_device_is_stdout_path fails to do the right thing here
because it expects an absolute node path and no options. So split off
options (everything after the colon) and resolve aliases.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/spi-nor')
0 files changed, 0 insertions, 0 deletions