u-boot-brain/arch
Sam Protsenko 268577669a omap: Fix warning when looking for userdata part
When eMMC was formattaed for Linux partition table, "userdata" partition
is missing. In this case, part_get_info_by_name() iterates over all
registered drivers (which are PART_TYPE_EFI, PART_TYPE_DOS and
PART_TYPE_ISO). And when it comes to PART_TYPE_ISO (which has empty
partition table), we can see next warning in U-Boot output:

    ** First descriptor is NOT a primary desc on 1:1 **

This patch switches to part_get_info_by_name_type() API in order to
check only EFI partitions for "userdata" partitions. This eliminates
mentioned warning.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-10-06 11:28:17 -04:00
..
arc arc: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
arm omap: Fix warning when looking for userdata part 2017-10-06 11:28:17 -04:00
m68k m68k: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
microblaze microblaze: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
mips mips: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
nds32 nds32: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
nios2 nios2: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
powerpc powerpc: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
sandbox sandbox: Expand list of IO accessors 2017-10-03 19:12:04 +02:00
sh sh: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
x86 treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
xtensa xtensa: Use asm-generic/io.h 2017-10-02 21:52:22 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00