aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_conformance.c
diff options
context:
space:
mode:
authorDario Binacchi <dario.binacchi@amarulasolutions.com>2022-11-20 10:57:04 +0100
committerDario Binacchi <dario.binacchi@amarulasolutions.com>2022-12-10 14:35:55 +0100
commit17c2ccde22c7374df452db057b185b4c9f9b6bd0 (patch)
tree1527a32cff9baedb5228bf4311b9438276abc783 /lib/efi_loader/efi_conformance.c
parent670789f5ba2f3330b137f637deb47671b8720c33 (diff)
mtd: nand: mxs_nand_spl: don't read useless pages
The patch prevents pages beyond the last from being unnecessarily read. This occurs when the last page to be read is not the last page of the last block. Before this change we would have read all the pages up to the end of the last block. Suggested-by: Michael Trimarchi <michael@amarulasolutions.com> Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Acked-by: Michael Trimarchi <michael@amarulasolutions.com> Link: https://lore.kernel.org/all/20221120095705.3019295-1-dario.binacchi@amarulasolutions.com
Diffstat (limited to 'lib/efi_loader/efi_conformance.c')
0 files changed, 0 insertions, 0 deletions