Back to home page

OSCL-LXR

 
 

    


0001 =====================
0002 Firmware lookup order
0003 =====================
0004 
0005 Different functionality is available to enable firmware to be found.
0006 Below is chronological order of how firmware will be looked for once
0007 a driver issues a firmware API call.
0008 
0009 * The ''Built-in firmware'' is checked first, if the firmware is present we
0010   return it immediately
0011 * The ''Firmware cache'' is looked at next. If the firmware is found we
0012   return it immediately
0013 * The ''Direct filesystem lookup'' is performed next, if found we
0014   return it immediately
0015 * The ''Platform firmware fallback'' is performed next, but only when
0016   firmware_request_platform() is used, if found we return it immediately
0017 * If no firmware has been found and the fallback mechanism was enabled
0018   the sysfs interface is created. After this either a kobject uevent
0019   is issued or the custom firmware loading is relied upon for firmware
0020   loading up to the timeout value.