[PATCH 02/10] firmware: firmware-zynqmp: Probe driver before use

Stefan Herbrechtsmeier stefan.herbrechtsmeier-oss at weidmueller.com
Mon Jun 20 08:40:38 CEST 2022


Am 16.06.2022 um 16:22 schrieb Michal Simek:
> On 6/8/22 18:20, Stefan Herbrechtsmeier wrote:
>> [CAUTION: External Email]
>>
>> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
>>
>> Probe the driver before use to ensure that the global data are valid.
> 
> It is not clear what the issue is. And this function is called in SPL or 
> EL3 and likely multiple times.
> Can you please clarify?

The driver only works if it is used after u-boot,dm-pre-reloc. This 
change is needed to support a usage by other drivers like 
xlnx,zynqmp-firmware.

Regards
   Stefan


More information about the U-Boot mailing list