On Wed, Dec 21, 2022 at 07:22:15PM +0530, Sinthu Raja wrote: > From: Sinthu Raja <sinthu.r...@ti.com> > > Add the board_init_f API for SPL and run the platform-required SoC > initialization. > > Add the functionality for board name-based DTB selection from FIT within SPL. > This > will make it easier to utilise one defconfig for both the EVM and the SK. > > Signed-off-by: Sinthu Raja <sinthu.r...@ti.com> [snip] > +#ifdef CONFIG_SPL_OF_LIST > +void do_dt_magic(void) > +{ > + int ret, rescan, mmc_dev = -1; > + static struct mmc *mmc; > + > + if (IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) > + do_board_detect();
I think we should rework this slightly for clarity about mini-U-Boot vs EVM and family support to be: /* Support for the various EVM / SK families */ #if defined(CONFIG_SPL_OF_LIST) && defined(CONFIG_TI_I2C_BOARD_DETECT) void do_dt_magic(void) { ... Instead. Or does that not work because of how we handle the R5 support here? If we so, then please just add the comment. -- Tom
signature.asc
Description: PGP signature