diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-05-28 20:06:32 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-06-02 14:36:17 +0300 |
commit | 66c4fca532288c750681f33339016772b0ffbf2a (patch) | |
tree | b8b187a802156646642492e24dd2fcec202c2c2e /platform | |
parent | d9ba6536d307f05a838e7c96cd20b0b7e43ec886 (diff) | |
download | opensbi-66c4fca532288c750681f33339016772b0ffbf2a.tar.xz |
lib: utils: consider ':' in stdout-path
The value of the /chosen/stdout-path devicetree property is used to
determine the UART used by openSBI. According to the devicetree
specification the value may contain a hyphen, e.g.
chosen {
stdout-path = "/serial@f00:115200";
};
If the character ':' is present, it terminates the path of the device.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions