summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMD Danish Anwar <danishanwar@ti.com>2024-02-15 15:19:47 +0530
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2024-03-21 14:26:33 +0000
commit3621c6c1409dad5edc00ee196d1e4ba690b815b0 (patch)
tree85f4f13c3630991d78c0e2e70528ad15241fde90 /doc
parentdf473a988e1dd241f15be1ce17bb90b36095bbb2 (diff)
misc: fs-loader: Use fw_storage_interface instead of storage_interface
The fs-loader driver reads env storage_interface and uses it to load firmware file into memory using the medium set by env. Update the driver to use env fw_storage_interface as this variable is only used to load firmwares. This is to keep all variables used by fs-loader driver with 'fw_' prefix. All other variables have 'fw_' prefix except for storage_interface. The env storage_interface will act as fallback so that the existing implementations do not break. Also update the FS Loader documentation accordingly. Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/develop/driver-model/fs_firmware_loader.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/develop/driver-model/fs_firmware_loader.rst b/doc/develop/driver-model/fs_firmware_loader.rst
index b0823700a9..3dc3b58c6f 100644
--- a/doc/develop/driver-model/fs_firmware_loader.rst
+++ b/doc/develop/driver-model/fs_firmware_loader.rst
@@ -98,8 +98,11 @@ through the U-boot environment variable during run time.
For examples:
+fw_storage_interface:
+ Firmware storage interface, it can be "mmc", "usb", "sata" or "ubi".
storage_interface:
- Storage interface, it can be "mmc", "usb", "sata" or "ubi".
+ Storage interface, it can be "mmc", "usb", "sata" or "ubi". This acts
+ as a fallback if fw_storage_interface is not set.
fw_dev_part:
Block device number and its partition, it can be "0:1".
fw_ubi_mtdpart: