From: Tom Rini Date: Thu, 6 Aug 2020 22:15:17 -0400 Subject: [PATCH v4 07/17] board_f: Introduce arch_setup_bdinfo initcall In-Reply-To: <20200724111225.12513-7-ovidiu.panait@windriver.com> References: <20200724111225.12513-1-ovidiu.panait@windriver.com> <20200724111225.12513-7-ovidiu.panait@windriver.com> Message-ID: <20200807021517.GZ6965@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:15PM +0300, Ovidiu Panait wrote: > Certain architectures (ppc, mips, sh, m68k) use setup board_part1 and > setup_board_part2 calls during pre-relocation init to populate gd->bd > boardinfo fields. This makes the generic init sequence cluttered with > arch-specific ifdefs. > > In order to clean these arch-specific sequences from generic init, > introduce arch_setup_bdinfo weak initcall so that everyone can define their > own bdinfo setup routines. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait 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: