[PATCH v2 1/3] spi: airoha-snfi: en7523: workaround flash damaging if UART_TXD was short to GND

Mark Brown broonie at kernel.org
Sun Nov 16 13:47:53 PST 2025


On Sun, Nov 16, 2025 at 03:00:36PM +0300, Mikhail Kshevetskiy wrote:

> +				"==================================================================\n"
> +				"Detected booting in RESERVED mode (UART_TXD was short to GND).\n"
> +				"This mode is known for incorrect DMA reading of some flashes.\n"
> +				"Usage of DMA for flash operations will be disabled to prevent data\n"
> +				"damage. Unplug your serial console and power cycle the board\n"
> +				"to boot with full performance.\n"
> +				"==================================================================\n");

Multi-line prints aren't idiomatic for the kernel, we usually have just
one line per print.  If you want multiple lines use multiple prints
(like the trace_printk() warning).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20251116/7b3d62c8/attachment.sig>


More information about the linux-arm-kernel mailing list