]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: board_f: Move setup_machine code to setup_bdinfo
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sat, 28 Nov 2020 08:43:06 +0000 (10:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:11 +0000 (14:36 -0500)
commit36716686767dc3e31ad0076d3661d607d66f80c6
treeab6eb540dc3cab1cec502c1020c6cc9925fe9307
parent4b9a121fc6fa211a33b693851f55b60954635fce
common: board_f: Move setup_machine code to setup_bdinfo

setup_bdinfo is used to populate various bdinfo fields, so move
setup_machine code there, as all it does is setting
gd->bd->bi_arch_number.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/board_f.c