]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: Move sram bdinfo assignments to generic code
authorOvidiu Panait <ovidiu.panait@windriver.com>
Fri, 24 Jul 2020 11:12:17 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 6 Aug 2020 18:26:35 +0000 (14:26 -0400)
commit4912224216e80df09e3e141c23b6107a58072ae4
tree0f70d2c6a4cd3f1435eb44865b3d1b9bfb07d4b8
parenta4aa188948e637fe5951a59958ae1ed5c2f8271b
board_f: Move sram bdinfo assignments to generic code

Move sram related bdinfo from arch-specific setup_board_part1 to generic
code in setup_bdinfo. Also use "if (IS_ENABLED(CONFIG_SYS_HAS_SRAM))"
instead of "#ifdef CONFIG_SYS_SRAM_BASE".

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