From: Tom Rini Date: Thu, 6 Aug 2020 22:15:23 -0400 Subject: [PATCH v4 08/17] board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo In-Reply-To: <20200724111225.12513-8-ovidiu.panait@windriver.com> References: <20200724111225.12513-1-ovidiu.panait@windriver.com> <20200724111225.12513-8-ovidiu.panait@windriver.com> Message-ID: <20200807021523.GA6965@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 24, 2020 at 02:12:16PM +0300, Ovidiu Panait wrote: > Move all assignments to gd->bd->bi_mem{start,size} to generic code in > setup_bdinfo. > > Xtensa architecture is special in this regard as it defines its own > handling of gd->bd->bi_mem{start,size} fields. In order to avoid defining > a weak SDRAM function, let arch_setup_bdinfo overwrite the generic flags. > > For ARC architecture, remove ARCH_EARLY_INIT_R from Kconfig since it is > not needed anymore. > > Also, use gd->ram_base to populate bi_memstart to avoid an ifdef. > > Signed-off-by: Ovidiu Panait > Acked-by: Alexey Brodkin > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: