]> git.dujemihanovic.xyz Git - u-boot.git/commit
env/fat.c: allow loading from a FAT partition on the MMC boot device
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 19 Jun 2020 22:07:17 +0000 (23:07 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 26 Jul 2020 18:35:12 +0000 (14:35 -0400)
commit6731bef6966ea2b26cdcfe0109ff5a950003fd03
tree78ec6ade3088dbc33e90c5728b4e757e6d0f8d3d
parentada61f1ee2a4eaa1b29d699b5ba940483171df8a
env/fat.c: allow loading from a FAT partition on the MMC boot device

I don't want to have to specify the device; only the partition.

This allows me to use the same image on internal eMMC or SD card for
Banana Pi R2, and it finds its own environment either way.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
[trini: Add #if/#else/#endif logic around CONFIG_SYS_MMC_ENV_DEV usage,
        whitespace changes]
Signed-off-by: Tom Rini <trini@konsulko.com>
env/Kconfig
env/fat.c