lib: Allow crc16 code to be dropped
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:14 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:00:42 +0000 (16:00 -0600)
commit5929c2f39f557940a49d2852f95ade939358b705
tree2c9a6ace6bddd7958f312afcbed2549499b5cf49
parent00ae9b2ac3493ed74449cd3b7cf50bce1b98d36d
lib: Allow crc16 code to be dropped

This code is not necessarily needed in VPL, even if SPL uses it, so
adjust the rules to allow it to be dropped.

Do the same for the hash API.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/hash.c
lib/Kconfig
lib/Makefile
tools/Kconfig