aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorFiona Klute <fiona.klute@gmx.de>2024-05-01 10:54:09 +0200
committerTom Rini <trini@konsulko.com>2024-05-17 13:18:43 -0600
commit3be9f399e911cfc437a37ac826441f1d96da1c9b (patch)
tree4b554e14f4f8292f44f520d378bd511b52e4988a /arch/arm
parentad7dce5abd49ef3b5c93da5303e15449c8c162b4 (diff)
downloadu-boot-3be9f399e911cfc437a37ac826441f1d96da1c9b.zip
u-boot-3be9f399e911cfc437a37ac826441f1d96da1c9b.tar.gz
u-boot-3be9f399e911cfc437a37ac826441f1d96da1c9b.tar.bz2
Init virtio before loading ENV from EXT4 or FATWIP/17May2024
Specifying a file in an EXT4 or FAT partition on a virtio device as environment location failed because virtio hadn't been initialized by the time the environment was loaded. This patch mirrors commit 54ee5ae84191 ("Add SCSI scan for ENV in EXT4 or FAT") in issue and fix, just for a different kind of block device. The additional include in include/virtio.h is needed so all functions called there are defined, the alternative would have been to include dm/device.h separately in the env/ sources. Checkpatch suggests using "if (IS_ENABLED(CONFIG...))" instead of "#if defined(CONFIG_...)", I'm sticking to the style of the existing code here. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> CC: Joe Hershberger <joe.hershberger@ni.com> CC: Bin Meng <bmeng.cn@gmail.com> CC: Rogier Stam <rogier@unrailed.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions