u-boot-brain/arch/arm/mach-omap2
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
..
am33xx treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
omap3 ARM: omap3: am3517-evm: Add device tree and DM support 2017-09-29 14:07:54 -04:00
omap4 omap4: Migrate to using imply 2017-03-09 19:52:16 -05:00
omap5 ARM: DRA72x: Add support for detection of DRA71x SR 2.1 2017-09-12 18:02:29 -04:00
abb.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
boot-common.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
clocks-common.c ti: clocks: Fix do_enable_clocks() to accept NULL pointers as input parameters 2017-04-08 21:32:49 -04:00
config_secure.mk arm: mach-omap2: Generate MLO file from SD boot capable targets 2017-06-16 10:11:42 -04:00
config.mk mach-omap2: Cleanup secure boot media generation 2017-01-24 10:35:56 -05:00
emif-common.c arm: omap-common: Fix typo in CONFIG_OMAP54XX guard 2017-03-11 22:30:29 -05:00
fdt-common.c arm: mach-omap2: fdt-common: Add OP-TEE node when firmware node is defined 2017-07-22 22:22:44 -04:00
hwinit-common.c omap: detect board before spl_early_init() 2017-10-06 11:27:40 -04:00
Kconfig Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig 2017-09-01 20:45:26 -04:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: mach-omap2: Factor out common FDT fixup suport 2017-07-22 22:22:43 -04:00
mem-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
omap-cache.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.h arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
reset.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sata.c dm: scsi: Add a device pointer to scan_exec(), scsi_bus_reset() 2017-07-11 10:08:19 -06:00
sec-common.c arm: am33xx: security: adds auth support for encrypted images 2017-09-29 14:07:55 -04:00
sysinfo-common.c arm: omap: Fix 'get_device_type()' for OMAP34XX 2017-08-12 18:56:26 -04:00
timer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
u-boot-spl.lds ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL 2017-03-21 07:15:21 -04:00
utils.c omap: Fix warning when looking for userdata part 2017-10-06 11:28:17 -04:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00