cmd: Allow building ufetch without CONFIG_BLK
authorJ. Neuschäfer <j.ne@posteo.net>
Wed, 11 Dec 2024 22:25:26 +0000 (23:25 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Wed, 22 Jan 2025 15:43:54 +0000 (16:43 +0100)
commitc38d5bad35078c9e6c38f1c84b366fddd75af302
tree2f54f93ffe0d013e8d5e900c5e11998965ef68f6
parente288366364c39f684a0c4a0ea9336f0873cb9b67
cmd: Allow building ufetch without CONFIG_BLK

The ufetch command is still quite useful on systems without block
device support; remove the CONFIG_BLK dependency and make sure the code
compiles/works with and without CONFIG_BLK.

Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Link: https://lore.kernel.org/r/20241211-ufetch-v2-2-2b5432ffaeb1@posteo.net
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
cmd/Kconfig
cmd/ufetch.c