]> git.baikalelectronics.ru Git - uboot.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)
commitd150c971b9a076f2e79ffb1ab7ddd378cc072102
tree3b4185a5c755038f1905fff5658fb75ec99ec360
parentbbb339f580042e47375ced48c6fe6ec7ffcb8272
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