summaryrefslogtreecommitdiffstats
path: root/doc/driver-model
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-02-04 17:35:50 -0500
committerTom Rini <trini@konsulko.com>2021-02-04 17:35:50 -0500
commit55ffabec7f9108060350fae29b932fbd832f8296 (patch)
treeca7399205efb7aeb994def6728c6d79fc10d4ba5 /doc/driver-model
parent21cb717e79e3f6588abae52fe55e2c415850c913 (diff)
parent5489448cd7d46554f7f45a180754be78eff9f54d (diff)
downloadu-boot-55ffabec7f9108060350fae29b932fbd832f8296.tar.gz
u-boot-55ffabec7f9108060350fae29b932fbd832f8296.tar.xz
u-boot-55ffabec7f9108060350fae29b932fbd832f8296.zip
Merge tag 'efi-2021-04-rc2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2021-04-rc2 Bug fixes: * do not allow creating of files with filenames on FAT file system * install UEFI System Partition GUID on ESP handle * in dtbdump.efi test tool use GUID to find ESP handle Documentation: * man-page for load command * describe end of life of plat_auto
Diffstat (limited to 'doc/driver-model')
-rw-r--r--doc/driver-model/design.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/driver-model/design.rst b/doc/driver-model/design.rst
index 2417976ab7..4e5cecbab6 100644
--- a/doc/driver-model/design.rst
+++ b/doc/driver-model/design.rst
@@ -725,7 +725,7 @@ The steps are:
2. If plat_auto is non-zero, then the platform data space
is allocated. This is only useful for device tree operation, since
- otherwise you would have to specific the platform data in the
+ otherwise you would have to specify the platform data in the
U_BOOT_DRVINFO() declaration. The space is allocated for the device and
zeroed. It will be accessible as dev->plat.
@@ -861,8 +861,8 @@ remove it. This performs the probe steps in reverse:
be dynamically allocated, and thus needs to be deallocated during the
remove() method, either:
- - if the plat_auto is non-zero, the deallocation
- happens automatically within the driver model core; or
+ - if the plat_auto is non-zero, the deallocation happens automatically
+ within the driver model core in the unbind stage; or
- when plat_auto is 0, both the allocation (in probe()
or preferably of_to_plat()) and the deallocation in remove()