On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner <[email protected]> wrote: > > From: Heiko Stuebner <[email protected]> > > Right now in multiple places there are only checks for the full > CONFIG_RSA_VERIFY_WITH_PKEY option, not split into main,spl,tpl variants. > > This breaks when the rsa functions get enabled for SPL, for example to > verify u-boot proper from spl. > > So fix this by using the existing helpers to distinguis between > build-steps. > > Signed-off-by: Heiko Stuebner <[email protected]> > --- > changes in v5: > - include the additional config-check that landed in patch 1/8 > in v4 > changes in v3.1: > - drop changeid > changes in v3: > - new patch with another build issue > > lib/rsa/Makefile | 2 +- > lib/rsa/rsa-verify.c | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

