riscv-pk icon indicating copy to clipboard operation
riscv-pk copied to clipboard

uart_prop scan only checks first compatible item

Open tmagik opened this issue 6 years ago • 0 comments

If a device tree (such as the new linux one at https://github.com/sifive/riscv-linux/blob/dev/paulw/test-upstream-v4.20-rc7-for-troy/arch/riscv/boot/dts/sifive/fu540-c000.dtsi#L156 ) puts another 'compatible' string, the code does not check any other strings and fails to find the serial port.

tmagik avatar Dec 18 '18 00:12 tmagik