Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2FDDECAAD8 for ; Wed, 14 Sep 2022 07:34:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7FD8B84AE8; Wed, 14 Sep 2022 09:34:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="dvBLrKqg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 573A784AF1; Wed, 14 Sep 2022 09:34:39 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3CB9A84AEF for ; Wed, 14 Sep 2022 09:34:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1663140848; bh=WI6tKh68Xm1VW2QeC157rads63m0JpyC0/QmyXd8seI=; h=X-UI-Sender-Class:Date:Subject:To:References:Cc:From:In-Reply-To; b=dvBLrKqgVOGhh3GwYWQdpGK/DxjIGytYp7K4bDHawzSBWGH9fYVv5km5xifAApm3a LvwZ5zl2JKrnrcqV0HPBANwxhbJagpdew00SgLGJTOeRyMZWPxehkbEzCFk9BXfs2c tuCI/XNTGKA2DU4iXbR9B1odorWU/3QDcjmC5Po4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([84.118.157.2]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M2wKq-1obgIW1740-003M3b; Wed, 14 Sep 2022 09:34:08 +0200 Message-ID: <804fc7ba-e0f9-0013-d3cb-695333d3972c@gmx.de> Date: Wed, 14 Sep 2022 09:34:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v2 09/24] blk: Rename HAVE_BLOCK_DEVICE Content-Language: en-US To: Simon Glass References: <20220812013503.1724919-1-sjg@chromium.org> <20220812013503.1724919-10-sjg@chromium.org> <20220914014250.GB38907@laputa> Cc: AKASHI Takahiro , U-Boot Mailing List , Tom Rini , Alexander Graf , Alexandru Gagniuc , Alexey Brodkin , Alper Nebi Yasak , Anastasiia Lukianenko , Andrew Davis , Andrew Scull , Bin Meng , Heiko Schocher , Ilias Apalodimas , Jaehoon Chung , Mark Kettenis , Masahisa Kojima , Michal Simek , Oleksandr Andrushchenko , Pali Roh??r , Peng Fan , Philippe Reynes , Stefan Roese , Wolfgang Denk , Ye Li From: Heinrich Schuchardt In-Reply-To: <20220914014250.GB38907@laputa> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:osmeBkXaJEwF1Qi6lIOh0bhZSnsDtMiAz65ON3F1bReqrXS5hHC 38KCNWPnqAtsY6ihwHQyOiN4thCOt4g9A+zYmtzTdQpY+ugg8bl+cMggvFEhPou0z9K1L50 kAIJJwJrAY7Q53VfBlKZu8HHBQjJv13eGZTiM8+ORNkl305ftfBCxnJTyVBvUwaSAgmbIVR tDiajizKaPIrktn8vPS6Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:mejU+n42y2g=:eJcTi4uYkgmSQpuM7+NR9z ux7e3RDe66dv1NLJoD38SPpI4m0iDb8m3wvmgZSTM4HUaaG0FWpypbn9AsGcZaMkEvxlS8HVl ROCkJg/W8IgurFL90SGzMiAGGN2UgY+Fq6WXKRtqFyjYjZKFndxABd5U3cqRyKeYdLpOxkWLu E2k94F8KtK/FzIeytmG7Iniuqum0mWjiJZNyncxSY05Y0/uRyn+I1yl4Q7/mIfCgs+mB4MCJd 1yoLAoumjturpkDYANqYC2J1951uvNVfjVwdCr8Fk4nGt2PRdNpH6cULAEtoWY7w2wrGrn5BW 4cWmrMcNhT9yBtMV3DBcnfpaK1+b4T4nnY9x+jlEuRjfevPNbXpdIZAxm+NYeDZzNG8jyDjx2 G2FQZD/phcKMM5hw4XEOwLYd+sMoiNlzWfiGegqrOuP8jKwwjAx/TYTfoMiIEVn3qrnqZLKhh U2ZB79+XotGCxsL+skBVS3JnI5PA3qrewT7U+2hZpUJtdlS8MK5m4qgzPvbR4aTE/S78oWhmd 53ssVNqttMzTKNTRT7NTTk1EpPHCLrUru2o5+vQFTMfhl9JBSdcieyaRUhs5vMZn0Z5wpPYoY dhE+P8byMl7nm49LzdjOpha2ZX5RPiel0hmCJQUrRBnIfKhf16PJjALQQJKJAv5duHuxu3S2w p7FDeS3yYl5whlVKoxKkd9LZcRM7gvST+//JdbNb3SsQrSxUJGp8cQIi0wGtz7bMadQsgsVfs 1UVACho5d8r9BI0qzuIiXGSWCJagKx89pIvuDTPM/YBPSyNvHr5Urit2TWJfG07VdayfkT1H3 tOldfrs2cnDf+SfmlGqNc9lI0ipsavdzhyybW0n7G9iO0Gb8cuihcv56GrU6jJKfcEgDbQXsQ ydhTWSECP+JAQIHMjeKLxid8sHeDjqr9ulgcJ9Dt/xDWnFE1qz9UnqrOyqgF3c9I2NOTfLTWt xGaKb0L94AQPGS5uY91MKSblkO0C3UHmY5qmyxeMtcEEGqSbo5B4CFD9moBPcy20dGPg5OX6z MKdJUowhON7VTpokDH0miBAjrtvoRXwZPqf3pM1UsrTrz5kWFul48bkcvTMaw3A0fqwuFCAW2 QU/Df2QoXfFK6jSdYrv46vtzPbzRG7mJqYKVX916v1PSkJQ+aKnJhvtSmU0Wt8cOoSUZzdrN+ 2d875B4hvZVa+pJjseyfl4YlR3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 9/14/22 03:42, AKASHI Takahiro wrote: > On Thu, Aug 11, 2022 at 07:34:48PM -0600, Simon Glass wrote: >> This option is fact really related to SPL. For U-Boot proper we always = use >> driver model for block devices, so CONFIG_BLK is enabled if block devic= es >> are in use. >> >> It is only for SPL that we have two cases: >> >> - SPL_BLK is enabled, in which case we use driver model and blk-uclass.= c >> - SPL_BLK is not enabled, in which case (if we need block devices) we m= ust >> use blk_legacy.c >> >> Rename the symbol to SPL_LEGACY_BLOCK to make this clear. This is >> different enough from BLK and SPL_BLK that there should be no confusion= . >> >> Signed-off-by: Simon Glass >> --- >> >> (no changes since v1) >> >> common/spl/Kconfig | 4 ++-- >> configs/axm_defconfig | 2 +- >> configs/bcm968380gerg_ram_defconfig | 2 +- >> configs/gardena-smart-gateway-mt7688_defconfig | 2 +- >> configs/nsim_hs38_defconfig | 2 +- >> configs/qemu-ppce500_defconfig | 2 +- >> disk/Makefile | 4 ++-- >> disk/disk-uclass.c | 3 +-- >> doc/develop/driver-model/migration.rst | 2 +- >> drivers/Makefile | 2 +- >> drivers/ata/Kconfig | 2 +- >> drivers/block/Kconfig | 8 ++++---- >> drivers/block/Makefile | 2 +- >> drivers/mmc/Kconfig | 2 +- >> drivers/nvme/Kconfig | 2 +- >> drivers/scsi/Kconfig | 2 +- >> drivers/xen/Kconfig | 2 +- >> include/blk.h | 2 +- >> lib/efi_loader/Kconfig | 2 +- >> 19 files changed, 24 insertions(+), 25 deletions(-) >> >> diff --git a/common/spl/Kconfig b/common/spl/Kconfig >> index ee98810e9e9..4c3e74ae5eb 100644 >> --- a/common/spl/Kconfig >> +++ b/common/spl/Kconfig >> @@ -792,7 +792,7 @@ config SPL_DM_MAILBOX >> config SPL_MMC >> bool "Support MMC" >> depends on MMC >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> Enable support for MMC (Multimedia Card) within SPL. This enables >> the MMC protocol implementation and allows any enabled drivers to >> @@ -1318,7 +1318,7 @@ config SPL_THERMAL >> >> config SPL_USB_HOST >> bool "Support USB host drivers" >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> Enable access to USB (Universal Serial Bus) host devices so that >> SPL can load U-Boot from a connected USB peripheral, such as a USB >> diff --git a/configs/axm_defconfig b/configs/axm_defconfig >> index a5f60bd8d0c..c42fb37d6c9 100644 >> --- a/configs/axm_defconfig >> +++ b/configs/axm_defconfig >> @@ -80,7 +80,7 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=3Dy >> CONFIG_SYS_RELOC_GD_ENV_ADDR=3Dy >> CONFIG_SPL_DM=3Dy >> CONFIG_BLK=3Dy >> -CONFIG_HAVE_BLOCK_DEVICE=3Dy >> +CONFIG_SPL_LEGACY_BLOCK=3Dy >> CONFIG_CLK=3Dy >> CONFIG_CLK_AT91=3Dy >> CONFIG_AT91_GPIO=3Dy >> diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm968380ger= g_ram_defconfig >> index 0475535e991..246add6029c 100644 >> --- a/configs/bcm968380gerg_ram_defconfig >> +++ b/configs/bcm968380gerg_ram_defconfig >> @@ -42,7 +42,7 @@ CONFIG_CMD_NAND=3Dy >> CONFIG_SYS_RELOC_GD_ENV_ADDR=3Dy >> # CONFIG_NET is not set >> # CONFIG_DM_DEVICE_REMOVE is not set >> -CONFIG_HAVE_BLOCK_DEVICE=3Dy >> +CONFIG_SPL_LEGACY_BLOCK=3Dy >> CONFIG_BCM6345_GPIO=3Dy >> CONFIG_LED=3Dy >> CONFIG_LED_BCM6328=3Dy >> diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/g= ardena-smart-gateway-mt7688_defconfig >> index b9ee281be9f..fdfab14d53e 100644 >> --- a/configs/gardena-smart-gateway-mt7688_defconfig >> +++ b/configs/gardena-smart-gateway-mt7688_defconfig >> @@ -78,7 +78,7 @@ CONFIG_VERSION_VARIABLE=3Dy >> CONFIG_NET_RANDOM_ETHADDR=3Dy >> CONFIG_SPL_DM=3Dy >> # CONFIG_DM_DEVICE_REMOVE is not set >> -CONFIG_HAVE_BLOCK_DEVICE=3Dy >> +CONFIG_SPL_LEGACY_BLOCK=3Dy >> CONFIG_BOOTCOUNT_LIMIT=3Dy >> CONFIG_LED=3Dy >> CONFIG_LED_BLINK=3Dy >> diff --git a/configs/nsim_hs38_defconfig b/configs/nsim_hs38_defconfig >> index 3c3d1812a79..3f23fc4189f 100644 >> --- a/configs/nsim_hs38_defconfig >> +++ b/configs/nsim_hs38_defconfig >> @@ -30,7 +30,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=3Dy >> CONFIG_USE_BOOTFILE=3Dy >> CONFIG_BOOTFILE=3D"uImage" >> CONFIG_BLK=3Dy >> -CONFIG_HAVE_BLOCK_DEVICE=3Dy >> +CONFIG_SPL_LEGACY_BLOCK=3Dy >> CONFIG_DM_ETH=3Dy >> CONFIG_DM_SERIAL=3Dy >> CONFIG_DEBUG_UART_SHIFT=3D2 >> diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defc= onfig >> index 034f7e6935b..3241f5520eb 100644 >> --- a/configs/qemu-ppce500_defconfig >> +++ b/configs/qemu-ppce500_defconfig >> @@ -40,7 +40,7 @@ CONFIG_NET_RANDOM_ETHADDR=3Dy >> CONFIG_DM=3Dy >> CONFIG_SIMPLE_BUS_CORRECT_RANGE=3Dy >> CONFIG_BLK=3Dy >> -CONFIG_HAVE_BLOCK_DEVICE=3Dy >> +CONFIG_SPL_LEGACY_BLOCK=3Dy >> CONFIG_LBA48=3Dy >> CONFIG_CHIP_SELECTS_PER_CTRL=3D0 >> CONFIG_MPC8XXX_GPIO=3Dy >> diff --git a/disk/Makefile b/disk/Makefile >> index 458e21e3fb7..45588cf66e4 100644 >> --- a/disk/Makefile >> +++ b/disk/Makefile >> @@ -10,8 +10,8 @@ ifdef CONFIG_$(SPL_TPL_)BLK >> obj-$(CONFIG_$(SPL_TPL_)PARTITIONS) +=3D disk-uclass.o >> endif >> >> -# Must have BLK or HAVE_BLOCK_DEVICE to support partitions >> -ifneq ($(CONFIG_$(SPL_TPL_)BLK),$(CONFIG_HAVE_BLOCK_DEVICE),) >> +# Must have BLK or SPL_LEGACY_BLOCK to support partitions >> +ifneq ($(CONFIG_$(SPL_TPL_)BLK),$(CONFIG_SPL_LEGACY_BLOCK),) >> obj-$(CONFIG_$(SPL_TPL_)MAC_PARTITION) +=3D part_mac.o >> obj-$(CONFIG_$(SPL_TPL_)DOS_PARTITION) +=3D part_dos.o >> obj-$(CONFIG_$(SPL_TPL_)ISO_PARTITION) +=3D part_iso.o >> diff --git a/disk/disk-uclass.c b/disk/disk-uclass.c >> index f3fb942a6b9..9351a5cfa68 100644 >> --- a/disk/disk-uclass.c >> +++ b/disk/disk-uclass.c >> @@ -27,8 +27,7 @@ int part_create_block_devices(struct udevice *blk_dev= ) >> struct udevice *dev; >> int ret; >> >> - if (!CONFIG_IS_ENABLED(PARTITIONS) || >> - !CONFIG_IS_ENABLED(HAVE_BLOCK_DEVICE)) >> + if (!CONFIG_IS_ENABLED(PARTITIONS) || !blk_enabled()) >> return 0; >> >> if (device_get_uclass_id(blk_dev) !=3D UCLASS_BLK) >> diff --git a/doc/develop/driver-model/migration.rst b/doc/develop/drive= r-model/migration.rst >> index 5a604369258..742fea5515c 100644 >> --- a/doc/develop/driver-model/migration.rst >> +++ b/doc/develop/driver-model/migration.rst >> @@ -57,7 +57,7 @@ In concert with maintainers migrating their block dev= ice usage to the >> appropriate DM driver, CONFIG_BLK needs to be set as well. The final= deadline >> here coincides with the final deadline for migration of the various b= lock >> subsystems. At this point we will be able to audit and correct the l= ogic in >> -Kconfig around using CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE an= d make >> +Kconfig around using CONFIG_PARTITIONS and CONFIG_SPL_LEGACY_BLOCK and= make >> use of CONFIG_BLK / CONFIG_SPL_BLK as needed. >> >> CONFIG_DM_SPI / CONFIG_DM_SPI_FLASH >> diff --git a/drivers/Makefile b/drivers/Makefile >> index f2154e15d6a..9d9f69a3c9a 100644 >> --- a/drivers/Makefile >> +++ b/drivers/Makefile >> @@ -59,7 +59,7 @@ obj-$(CONFIG_SPL_WATCHDOG) +=3D watchdog/ >> obj-$(CONFIG_SPL_USB_HOST) +=3D usb/host/ >> obj-$(CONFIG_OMAP_USB_PHY) +=3D usb/phy/ >> obj-$(CONFIG_SPL_SATA) +=3D ata/ scsi/ >> -obj-$(CONFIG_HAVE_BLOCK_DEVICE) +=3D block/ >> +obj-$(CONFIG_SPL_LEGACY_BLOCK) +=3D block/ >> obj-$(CONFIG_SPL_BLK) +=3D block/ >> obj-$(CONFIG_SPL_THERMAL) +=3D thermal/ >> >> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig >> index 70e6bd321a6..c3f2ac058a3 100644 >> --- a/drivers/ata/Kconfig >> +++ b/drivers/ata/Kconfig >> @@ -9,7 +9,7 @@ config AHCI >> >> config SATA >> bool "Support SATA controllers" >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> This enables support for SATA (Serial Advanced Technology >> Attachment), a serial bus standard for connecting to hard drives a= nd >> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig >> index df242df9c5f..5a0c434058a 100644 >> --- a/drivers/block/Kconfig >> +++ b/drivers/block/Kconfig >> @@ -11,7 +11,7 @@ config BLK >> be partitioned into several areas, called 'partitions' in U-Boot. >> A filesystem can be placed in each partition. >> >> -config HAVE_BLOCK_DEVICE >> +config SPL_LEGACY_BLOCK >> bool "Enable Legacy Block Device" >> help >> Some devices require block support whether or not DM is enabled >> @@ -109,7 +109,7 @@ endif # EFI_MEDIA >> >> config IDE >> bool "Support IDE controllers" >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> Enables support for IDE (Integrated Drive Electronics) hard drives= . >> This allows access to raw blocks and filesystems on an IDE drive >> @@ -222,7 +222,7 @@ endif # IDE >> >> config LBA48 >> bool "Enable LBA support for disks larger than 137GB" >> - depends on HAVE_BLOCK_DEVICE >> + depends on SPL_LEGACY_BLOCK >> help >> Set this to enable support for disks larger than 137GB. >> Also look at CONFIG_SYS_64BIT_LBA. Without both of these, LBA48 >> @@ -231,7 +231,7 @@ config LBA48 >> >> config SYS_64BIT_LBA >> bool "Enable 64bit number of blocks on a block device" >> - depends on HAVE_BLOCK_DEVICE >> + depends on SPL_LEGACY_BLOCK >> help >> Make the block subsystem use 64bit sector addresses, rather than t= he >> default of 32bit. >> diff --git a/drivers/block/Makefile b/drivers/block/Makefile >> index b221a7c6eea..f48d3e12140 100644 >> --- a/drivers/block/Makefile >> +++ b/drivers/block/Makefile >> @@ -6,7 +6,7 @@ >> obj-$(CONFIG_$(SPL_)BLK) +=3D blk-uclass.o >> >> ifndef CONFIG_$(SPL_)BLK >> -obj-$(CONFIG_HAVE_BLOCK_DEVICE) +=3D blk_legacy.o >> +obj-$(CONFIG_SPL_LEGACY_BLOCK) +=3D blk_legacy.o >> endif >> >> ifndef CONFIG_SPL_BUILD >> diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig >> index c5e1a1b0981..d45ad1a541d 100644 >> --- a/drivers/mmc/Kconfig >> +++ b/drivers/mmc/Kconfig >> @@ -3,7 +3,7 @@ menu "MMC Host controller Support" >> config MMC >> bool "MMC/SD/SDIO card support" >> default ARM || PPC || SANDBOX >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> select DM_MMC if DM >> help >> This selects MultiMediaCard, Secure Digital and Secure >> diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig >> index 2a103ab5ed7..7b6d54615f8 100644 >> --- a/drivers/nvme/Kconfig >> +++ b/drivers/nvme/Kconfig >> @@ -4,7 +4,7 @@ >> >> config NVME >> bool "NVM Express device support" >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> This option enables support for NVM Express devices. >> It supports basic functions of NVMe (read/write). >> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig >> index 19872fb52d8..4d643816fcc 100644 >> --- a/drivers/scsi/Kconfig >> +++ b/drivers/scsi/Kconfig >> @@ -1,6 +1,6 @@ >> config SCSI >> bool "Support SCSI controllers" >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> This enables support for SCSI (Small Computer System Interface), >> a parallel interface widely used with storage peripherals such as >> diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig >> index 6ad2a936682..20db2c53065 100644 >> --- a/drivers/xen/Kconfig >> +++ b/drivers/xen/Kconfig >> @@ -2,7 +2,7 @@ config PVBLOCK >> bool "Xen para-virtualized block device" >> depends on DM >> select BLK >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK >> help >> This driver implements the front-end of the Xen virtual >> block device driver. It communicates with a back-end driver >> diff --git a/include/blk.h b/include/blk.h >> index 332481a90b8..5bdffe74015 100644 >> --- a/include/blk.h >> +++ b/include/blk.h >> @@ -23,7 +23,7 @@ struct udevice; >> >> static inline bool blk_enabled(void) >> { >> - return CONFIG_IS_ENABLED(BLK) || IS_ENABLED(CONFIG_HAVE_BLOCK_DEVICE)= ; >> + return CONFIG_IS_ENABLED(BLK) || IS_ENABLED(CONFIG_SPL_LEGACY_BLOCK); >> } >> >> /* Interface types: */ >> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig >> index e3f2402d0e8..5feafc16820 100644 >> --- a/lib/efi_loader/Kconfig >> +++ b/lib/efi_loader/Kconfig >> @@ -20,7 +20,7 @@ config EFI_LOADER >> select EVENT_DYNAMIC >> select LIB_UUID >> imply PARTITION_UUIDS >> - select HAVE_BLOCK_DEVICE >> + select SPL_LEGACY_BLOCK > > I don't think we need this "select" as efi_disk implementation > now fully relies on U-Boot dm. > (Kconfig has "depends on BLK".) > > -Takahiro Akashi The UEFI sub-system does not exist in SPL. Hence there should be no SPL configuration flag affected. Best regards Heinrich > > >> select REGEX >> imply FAT >> imply FAT_WRITE >> -- >> 2.37.1.595.g718a3a8f04-goog >>