summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-04-22 14:32:14 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-24 06:53:40 +0200
commit6fe8b4a39d0ddb6cf6de35ab3e1b522ec0824575 (patch)
treebe0078e375702347f3589ace93b464de6b337f7a /drivers/ddr/imx/imx8m/ddr_init.c
parenta07ee3c198df216b3111c1dc8f79410e3b0bcc4b (diff)
downloadu-boot-6fe8b4a39d0ddb6cf6de35ab3e1b522ec0824575.tar.gz
u-boot-6fe8b4a39d0ddb6cf6de35ab3e1b522ec0824575.tar.xz
u-boot-6fe8b4a39d0ddb6cf6de35ab3e1b522ec0824575.zip
efi_loader: simplify tcg2_create_digest()
Bumping the digest list count, for all supported algorithms, can be calculated outside of the individual switch statements. So let's do that for every loop iteration instead and simplify the code a bit. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions