
Hi Igor,
On Fri, 16 Apr 2021 at 01:10, Igor Opaniuk igor.opaniuk@foundries.io wrote:
From: Igor Opaniuk igor.opaniuk@foundries.io
Introduce RSA_SOFTWARE_EXP_TINY Kconfig option, which does not require DM to be enabled. This can be handy on devices, where SPL + signed U-Boot FIT image setup is used, where it isn't possible to enable SPL_DM mainly due to SRAM size constraits.
For example, on iMX8MM with this option enabled and SPL_DM disabled it's possible to save almost 11Kb:
That seems a lot...do you have OF_PLATDATA enabled?
With RSA_SOFTWARE_EXP_TINY enabled: spl/u-boot-spl-nodtb.bin 99824
Without: spl/u-boot-spl-nodtb.bin 111088
Signed-off-by: Igor Opaniuk igor.opaniuk@foundries.io
lib/rsa/Kconfig | 11 ++++++++++- lib/rsa/rsa-verify.c | 8 ++++---- 2 files changed, 14 insertions(+), 5 deletions(-)
Regards, Simon