fit: If no matching config is found in fit_find_config_node(), use the default one
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 15 Sep 2017 10:57:27 +0000 (12:57 +0200)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:23 +0000 (02:37 +0800)
commitd0637bd78b53eb298db99993a86224e703d302e0
tree8f3f8c16e29b724f55185886886786363a44558a
parenta934533f26bdf2f5a0d9afe41f0a3a0e21e1c3d5
fit: If no matching config is found in fit_find_config_node(), use the default one

If board_fit_config_name_match() doesn't match any configuration node,
then use the default one (if provided).

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 02035d0086b3f9114463a9b9df38a5618ffe8a04)
common/common_fit.c
include/image.h