boot/efi/dtb: require exact match for PL011 in device tree
Don't match PL011 for arm,primecell compatibility string as it can indicate other peripherals. Primecell peripherals have the generic "arm,primcecell" name as well as a specific name in the format of "arm,pl???" see: https://www.kernel.org/doc/Documentation/devicetree/bindings/arm/primecell.txt Change-Id: Ida6450e9e71dac834770d558e4ab95c5574970cb Reviewed-on: https://review.haiku-os.org/c/haiku/+/4733 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
8a18d81d7a
commit
ff9497b539
@@ -69,7 +69,6 @@ const struct supported_uarts {
|
||||
{ "sifive,uart0", UART_KIND_SIFIVE, &get_uart<ArchUARTSifive> },
|
||||
#elif defined(__ARM__) || defined(__aarch64__)
|
||||
{ "arm,pl011", UART_KIND_PL011, &get_uart<ArchUARTPL011> },
|
||||
{ "arm,primecell", UART_KIND_PL011, &get_uart<ArchUARTPL011> },
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user