[EXT] Re: [PATCH v4 03/16] i.MX8M: crypto: updated device tree for supporting DM in SPL

Michael Walle michael at walle.cc
Mon Nov 8 09:58:39 CET 2021


Am 2021-11-08 09:48, schrieb ZHIZHIKIN Andrey:
..

>> > Disabling the JR0 node in the kernel makes this error go away, and
>> > decreases the JR count to 2 which can be observed in the NXP vendor kernel.
>> >
>> > I suggest you to extract the node disabling from this patch and send it to Kernel.
>> > Once accepted in upstream - this change would be picked up by the
>> > U-Boot at next DTB re-sync.

No. Please don't disable the node in the kernel device tree. IMHO TF-A
(or whoever is using the job ring) is optional. So either u-boot
should disable it, either statically by -u-boot.dtsi (but please _per_
board) or at runtime by fixing up the device tree. Another way would
be for linux to skip probing if its not available. Though I don't
know whether this is "the ususal way".

But as Andrey mentioned, any job ring could be taken away. So the
-u-boot.dtsi method doesn't seem to be that good.

-michael


More information about the U-Boot mailing list