board/BuR/common: refactor ft_board_setup(...)
authorHannes Schmelzer <oe5hpm@oevsv.at>
Fri, 6 Jul 2018 13:41:25 +0000 (15:41 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jul 2018 21:03:34 +0000 (17:03 -0400)
commitd63f7130cea19c5f356ba651f0cbd37a964c1dc6
treec83178b1d0394176283a1e681a861176a50f6c32
parent1d469866015d8a4bf914428a04cbf8ce3975dac8
board/BuR/common: refactor ft_board_setup(...)

On other OS, not one provided by B&R, it is not guaranteed that there
are factory-settings within a devicetree. So we must not treat the
absence of them as error.
Further we've the fact that on different version of the device-tree
files there are different namings of the factory-settings, we consider
this with searching for an alternative name.

changing things as following:

- don't treat as error if the bootloader version cannot written into
devicetree.

- since the naming of the factory-settings are different in different
versions of the provided device-tree we search for the alternate name
"/fset"

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
board/BuR/common/common.c