[U-Boot] [PATCH 67/93] arm: Remove socfpga_stratix10 board

Ley Foon Tan
2018-11-21T01:01:45Z

On Tue, Nov 20, 2018 at 1:27 AM Simon Glass <sjg@chromium.org> wrote:
>
> This board has not been converted to CONFIG_DM_BLK by the deadline.
> Remove it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> board/altera/stratix10-socdk/MAINTAINERS | 7 -
> board/altera/stratix10-socdk/Makefile | 7 -
> board/altera/stratix10-socdk/socfpga.c | 7 -
> configs/socfpga_stratix10_defconfig | 59 ------
> include/configs/socfpga_stratix10_socdk.h | 221 ----------------------
> 5 files changed, 301 deletions(-)
> delete mode 100644 board/altera/stratix10-socdk/MAINTAINERS
> delete mode 100644 board/altera/stratix10-socdk/Makefile
> delete mode 100644 board/altera/stratix10-socdk/socfpga.c
> delete mode 100644 configs/socfpga_stratix10_defconfig
> delete mode 100644 include/configs/socfpga_stratix10_socdk.h
>
NAK

Are you refer to CONFIG_BLK?

After "make socfpga_stratix10_defconfig", CONFIG_BLK and CONIF_DM are enabled.

$ make socfpga_stratix10_defconfig
#
# configuration written to .config
#

$ cat .config | grep CONFIG_BLK
CONFIG_BLK=y

$ cat .config | grep -w CONFIG_DM
CONFIG_DM=y

$ cat .config | grep -w CONFIG_DM_MMC
CONFIG_DM_MMC=y

CONFIG_BLK is not in socfpga_stratix10_defconfig because it is enabled
by default if CONFIG_DM_MMC is enabled.

In drivers/block/Kconfig:

config BLK
bool "Support block devices"
depends on DM
default y if DM_MMC

Regards
Ley Foon