blk: Hide the BLK and SPL_LEGACY_BLOCK options
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:51 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
commit0417b8523c474e142979f99f978f270762502366
tree09d9d35a7c82dc54ac2cd246b78f186028a7c72b
parenta21eb38183eb8a8225fb06c7d831702457f3da75
blk: Hide the BLK and SPL_LEGACY_BLOCK options

We don't want boards to be able to change these. They can be handled
as dependencies of options that need them, such as SPL_MMC. There is no
point in enabling the block interface without any storage devices to
create a block device.

Hide both options from the 'menuconfig' display and deny their use in
defconfig files.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/Kconfig