]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: Add default values for bi_dram[] in dram_init_banksize()
authorStefan Roese <sr@denx.de>
Wed, 12 Aug 2020 11:02:39 +0000 (13:02 +0200)
committerStefan Roese <sr@denx.de>
Wed, 26 Aug 2020 07:19:28 +0000 (09:19 +0200)
commitf120aa7522fafa7606ae28693cc6f29be12e4887
treecc4c68341591112ed172b4f2cfca851f5936fb6d
parent4963f63fe61f15329d77472a762b1d8bf754d24b
board_f: Add default values for bi_dram[] in dram_init_banksize()

Remove the bi_memstart / bi_memsize assignment in setup_bdinfo() and
make sure, that bd_dram[] is always configured in the weak default
implementation of dram_init_banksize(), when CONFIG_SYS_SDRAM_BASE is
not set.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ovidiu Panait <ovidiu.panait@windriver.com>
common/board_f.c