drivers: crypto: mod_exp_sw: Re-add DM_FLAG_PRE_RELOC
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 7 May 2020 18:36:03 +0000 (20:36 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 19 May 2020 18:01:47 +0000 (14:01 -0400)
commitcf2d07f004367e7b48fb1d21a31a0818adb0374a
tree002a565dc35c51d372bdc50b2e4369d9a4a9c232
parentf91f366bd56ef290b7b1f24a40a8be02c148d6d9
drivers: crypto: mod_exp_sw: Re-add DM_FLAG_PRE_RELOC

This driver is safe to use in SPL without relocation. Denying
DM_FLAG_PRE_RELOC prevents its usability for verifying the main U-Boot
or other artifacts from the SPL unless needless enabling the full driver
set (SPL_OF_PLATDATA).

Fixes: 17e117408571 ("drivers: crypto: rsa_mod_exp: avoid DM_FLAG_PRE_RELOC")
CC: Heinrich Schuchardt <xypron.glpk@gmx.de>
CC: Marek Vasut <marex@denx.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
drivers/crypto/rsa_mod_exp/mod_exp_sw.c