Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df40a57e authored by Remi Machet's avatar Remi Machet Committed by Paul Mackerras
Browse files

[POWERPC] Fix mv64x60 early console code to use cell-index property



The MPSC driver and prpmc2800.dts have been modified to use property
'cell-index' as the serial port number, but the early serial console
driver for the mv64x60 has not been modified to use this new property.
This fixes it.

Signed-off-by: default avatarRemi Machet <(rmachet@slac.stanford.edu)>
Acked-by: default avatarDale Farnsworth <dale@farnsworth.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ff114b66
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,7 @@ static void mv64x60_udbg_init(void)
	if (!np)
	if (!np)
		return;
		return;


	block_index = of_get_property(np, "block-index", NULL);
	block_index = of_get_property(np, "cell-index", NULL);
	if (!block_index)
	if (!block_index)
		goto error;
		goto error;