]> git.sur5r.net Git - u-boot/commit
mtd: uboot: Add meaningful error message
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 15 Oct 2015 12:34:09 +0000 (14:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 18:17:28 +0000 (13:17 -0500)
commit10b69712151203beb774750bafc56c00699c8e58
tree80f23e262280f0dd3905429f664c90ce81ead2b6
parent91931f7ed324ea223be560319031dbefddb8b2e7
mtd: uboot: Add meaningful error message

The current error message in get_part if CONFIG_MTDPARTS is disabled is
"offset is not a number" which is confusing and doesn't help at all.

Change that for something that might give a hint on what's going on.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/mtd_uboot.c