ofwfb: Check for /chosen/stdout-path in addition to /chosen/stdout
Some platforms use /chosen/stdout-path as the property containing the path to the stdout node, not /chosen/stdout.
This commit is contained in:
parent
0053ed28ff
commit
1dbd2e8c7c
@ -102,6 +102,10 @@ ofwfb_probe(struct vt_device *vd)
|
||||
if (OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)) ==
|
||||
sizeof(stdout))
|
||||
node = OF_instance_to_package(stdout);
|
||||
if (node == -1)
|
||||
if (OF_getprop(chosen, "stdout-path", &stdout, sizeof(stdout)) ==
|
||||
sizeof(stdout))
|
||||
node = OF_instance_to_package(stdout);
|
||||
if (node == -1) {
|
||||
/*
|
||||
* The "/chosen/stdout" does not exist try
|
||||
|
Loading…
Reference in New Issue
Block a user