omap: Omit fastboot.userdata_size related errors
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 21 Sep 2017 20:01:00 +0000 (23:01 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 15:28:16 +0000 (11:28 -0400)
commit19d141a0f90c640a8d5ed699745cbc8169918945
treeb1398220bb1c4f82dd3069d0542711dcfeafa77d
parent7b09dffc3b07ae08b0b1006ab799c2d1a0364504
omap: Omit fastboot.userdata_size related errors

When using regular $partitions variable (for Linux boot), we can see
some unwanted messages:

> ERROR: cannot find partition: 'userdata'

> at arch/arm/mach-omap2/utils.c:96/omap_mmc_get_part_size()
> Warning: fastboot.userdata_size: unable to calc

Let's remove those, as missing 'userdata' partition is correct behavior
for Linux partition, and we don't want to see some Android-related
messages in this case.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
arch/arm/mach-omap2/utils.c