[U-Boot] [PATCH 1/2] RFC: dm: Enable CONFIG_BLK

Simon Glass sjg at chromium.org
Sat Jun 23 13:59:31 UTC 2018


As per the migration plan in MIGRATION.txt all boards should now be
migrated to use CONFIG_BLK.

The following boards 145 fail to build with this change:

    A10-OLinuXino-Lime
    A20-Olimex-SOM-EVB
    A20-OLinuXino-Lime
    A20-OLinuXino-Lime2
    A20-OLinuXino_MICRO
    A33-OLinuXino
    Ainol_AW1
    arndale
    at91sam9260ek_dataflash_cs0
    at91sam9260ek_dataflash_cs1
    at91sam9260ek_nandflash
    at91sam9261ek_dataflash_cs0
    at91sam9261ek_dataflash_cs3
    at91sam9261ek_nandflash
    at91sam9g10ek_dataflash_cs0
    at91sam9g10ek_dataflash_cs3
    at91sam9g10ek_nandflash
    at91sam9g20ek_dataflash_cs0
    at91sam9g20ek_dataflash_cs1
    at91sam9g20ek_nandflash
    at91sam9xeek_dataflash_cs0
    at91sam9xeek_dataflash_cs1
    at91sam9xeek_nandflash
    ba10_tv_box
    Bananapi
    Bananapro
    Chuwi_V7_CW0825
    clearfog
    controlcenterdc
    corvus
    Cubieboard
    Cubieboard2
    Cubieboard4
    Cubietruck
    da850_am18xxevm
    da850evm
    db-88f6820-gp
    db-mv784mp-gp
    draco
    dserve_dsrv9703c
    etamin
    ethernut5
    ga10h_v1_1
    gt90h_v4
    gurnard
    Hyundai_A7HD
    i12-tvbox
    icnova-a20-swac
    inet1
    iNet_3F
    iNet_3W
    inet86dz
    inet97fv2
    inet9f_rev03
    iNet_D978_rev2
    Itead_Ibox_A20
    jesurun_q5
    k2e_evm
    k2e_hs_evm
    k2hk_evm
    k2hk_hs_evm
    k2l_evm
    Lamobo_R1
    Linksprite_pcDuino
    Linksprite_pcDuino3_Nano
    ls1021aiot_qspi
    ls1021aiot_sdcard
    ls1021aqds_ddr4_nor
    ls1021aqds_ddr4_nor_lpuart
    ls1021aqds_nand
    ls1021aqds_nor
    ls1021aqds_nor_lpuart
    ls1021aqds_nor_SECURE_BOOT
    ls1021aqds_qspi
    ls1021aqds_sdcard_ifc
    ls1021aqds_sdcard_qspi
    ls1021atwr_nor
    ls1021atwr_nor_lpuart
    ls1021atwr_nor_SECURE_BOOT
    ls1021atwr_qspi
    ls1021atwr_sdcard_ifc
    ls1021atwr_sdcard_ifc_SECURE_BOOT
    ls1021atwr_sdcard_qspi
    lschlv2
    lsxhl
    ma5d4evk
    Marsboard_A10
    Mele_A1000
    Mele_M3
    Mele_M5
    Merrii_A80_Optimus
    Mini-X
    mk802
    mk802ii
    MK808C
    MSI_Primo73
    nanopi_neo
    nanopi_neo_air
    odroid-xu3
    omap3_beagle
    omap3_evm
    omapl138_lcdk
    Orangepi
    orangepi_2
    orangepi_lite
    Orangepi_mini
    orangepi_one
    orangepi_pc
    orangepi_pc_plus
    orangepi_plus
    orangepi_plus2e
    orangepi_zero
    parrot_r16
    peach-pi
    peach-pit
    pm9261
    pm9263
    polaroid_mid2407pxe03
    polaroid_mid2809pxe04
    pov_protab2_ips9
    pxm2
    q8_a23_tablet_800x480
    q8_a33_tablet_1024x600
    q8_a33_tablet_800x480
    rastaban
    rut
    Sinlinx_SinA33
    smdk5250
    smdk5420
    smdkv310
    snow
    socfpga_is1
    spring
    sun8i_a23_evb
    Sunchip_CX-A99
    sunxi_Gemei_G9
    taurus
    theadorable_debug
    thuban
    ti816x_evm
    vinco
    Wexler_TAB7200
    Wits_Pro_A20_DKT
    Yones_Toptech_BD1078

I propose to create a patch to remove these if they are not converted by
the time of the next release. I am copying all maintainers to make sure
that no one missed the earlier messages.

The problems relate to MMC, SATA and USB.

A further 28 boards explicitly disabled CONFIG_BLK and will be the subject
of a later patch.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/block/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index f9502b36ba..9189cb4249 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -1,7 +1,7 @@
 config BLK
 	bool "Support block devices"
 	depends on DM
-	default y if DM_MMC
+	default y
 	help
 	  Enable support for block devices, such as SCSI, MMC and USB
 	  flash sticks. These provide a block-level interface which permits
-- 
2.18.0.rc2.346.g013aa6912e-goog



More information about the U-Boot mailing list