]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: cros: Move partition reading into a function
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:16:48 +0000 (11:16 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 11 Aug 2023 00:34:54 +0000 (18:34 -0600)
commit5a8589ebd6b20a4ba992bdf8806e574c339b12ea
treebf59261a7a6c5a86bb466f11d8b296dd8e2b6d7f
parentdefa33ad29f8d2897e78fdef6218b2eeea6acf6d
bootstd: cros: Move partition reading into a function

Move the code which reads a partition into its own function. Add a
constant for the number of bytes to 'probe' at the start of the partition.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_cros.c