]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATA
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 3 May 2023 06:50:55 +0000 (08:50 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 5 May 2023 05:26:53 +0000 (07:26 +0200)
commit62c5fae511494590e6b8404c315fe156575a0753
tree3b4185a5c755038f1905fff5658fb75ec99ec360
parent3febc89563f69494e69c04b30ffbed04fa3c2b82
powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATA

MPC885 CPU has the following ERRATA:

When the USB controller is configured in Host mode, and the
SOF generation (SFTE=1 in USMOD register) is being used,
there may be false CRC error indication in other SCCs.
Although the data is received correctly, the CRC result
will be corrupted.

Add capability to load the related microcode to fix it.
The microcode binary data is copied from Linux kernel.

Other microcode will be added in following patch so make it
a Kconfig choice.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/cpu/mpc8xx/Kconfig
arch/powerpc/cpu/mpc8xx/Makefile
arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c [new file with mode: 0644]
arch/powerpc/include/asm/cpm_8xx.h