help on udoo_neo power up on mainline uboot

Tommaso Merciai tomm.merciai at gmail.com
Sun Jan 2 18:14:54 CET 2022


On Sat, Jan 01, 2022 at 10:24:29PM -0300, Fabio Estevam wrote:
> Hi Tommaso,
> 
> On Sat, Jan 1, 2022 at 8:22 PM Tommaso Merciai <tomm.merciai at gmail.com> wrote:
> 
> > Hi Peter, Fabio,
> > What do you think about this solution:
> >
> > First create new static entry in gd:
> >
> > +++ b/include/asm-generic/global_data.h
> > @@ -459,6 +459,7 @@ struct global_data {
> >          */
> >         char *smbios_version;
> >  #endif
> > +       int board_cfg;
> 
> No need to add this new 'board_cfg' field entry.
> 
> Please use the existing 'board_type' field instead:
> 
> #ifdef CONFIG_BOARD_TYPES
> /**
> * @board_type: board type
> *
> * If a U-Boot configuration supports multiple board types, the actual
> * board type may be stored in this field.
> */
> unsigned long board_type;
> #endif
> 
> Please make sure to add CONFIG_BOARD_TYPES=y in the defconfig.
> 
> > What do you think about this solution?
> > Let me know.
> 
> I like your solution.
> 
> The only suggestion is to use the existing 'gd->board_type' and then
> feel free to submit a formal patch.
> 
> Thanks!
> 
> Fabio Estevam

Hi Fabio,
I need to create a patch on top of your patch series that re-enable
boot from uSD. Your series is already merged? just repull from master?
If not, can you give me some reference of your branch?

Or, I just send a patch on top of you series applied locally?

Let me know.

Thanks,
Tommaso Merciai


More information about the U-Boot mailing list