Re: [U-Boot] [PATCH v2] hash: Compile only hardware or software versions of SHA algorithms

2017-08-14 Thread Sumit Garg
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, August 15, 2017 2:08 AM > To: u-boot@lists.denx.de > Cc: Simon Glass ; Sumit Garg > Subject: [PATCH v2] hash: Compile only hardware or software versions of SHA > algorithms > > Commit 089df18bfe9d ("lib: mo

[U-Boot] [PATCH v2] hash: Compile only hardware or software versions of SHA algorithms

2017-08-14 Thread Tom Rini
Commit 089df18bfe9d ("lib: move hash CONFIG options to Kconfig") moved CONFIG_SHA1, CONFIG_SHA256, CONFIG_SHA_HW_ACCEL, and CONFIG_SHA_PROG_HW_ACCEL config options to Kconfig. So in the case of SPL, CONFIG_SPL_HASH_SUPPORT enables CONFIG_SHA1 and CONFIG_SHA256 which enables SHA SW library by defaul