mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
92055e138f
calculate_hash() would try to select the appropriate hashing function by a if/elseif contruct. But that is exactly why hash_lookup_algo() exists, so use it instead. This does mean that we now have to 'select HASH' to make sure we get the hash_lookup_algo() symbol. However, the change makes sense because even basic FITs will have to deal with "hash" nodes. My only concern is that the 'select SPL_HASH' might cause some platform to grow above its SPL size allowance Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> [trini: Make FSL_CAAM be implied only on ARM && SPL] Signed-off-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
desc.h | ||
desc_constr.h | ||
error.c | ||
fsl_blob.c | ||
fsl_hash.c | ||
fsl_hash.h | ||
fsl_mfgprot.c | ||
fsl_rsa.c | ||
jobdesc.c | ||
jobdesc.h | ||
jr.c | ||
jr.h | ||
Kconfig | ||
Makefile | ||
rng.c | ||
rsa_caam.h | ||
sec.c | ||
type.h |