]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita7bc57e19a7b47aeeaaabe425c5e9e004d5b0889
treec83178b1d0394176283a1e681a861176a50f6c32
parentea8bebb1903039836c7232f9370c305c8c7a9af2
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