Hi Fabio, Guillaume On Thu, Apr 12, 2018 at 08:14:51AM -0300, Fabio Estevam wrote: > On Thu, Apr 12, 2018 at 5:13 AM, Guillaume Gardet > <guillaume.gar...@free.fr> wrote: > script that picks the correct dtb. > >> > > Ok. So, how would you like to proceed? > > Remove the generic mx6 'soc' definition and use a board sepcific 'board_rev' > > (or maybe a static definition if one configuration match a single dtb) to > > define the right dtb? > > I prefer to keep the same solution as done in other boards sucn as > mx6sabresd, wandboard and cuboxi.
Ok. My suggestion was to have something generic so that it matches the fdt name set in config_distro_bootcmd.h (${soc}-${board}${boardver}.dtb). I especially like the naming in that standard, don't think board_rev should be the SOC name. This would also avoid redundancy in each board_late_init functions since only the board name would need to be setup (and boardver in some cases like wandboard). Guillaume, please forget that point for now and just set your fdtfile name in the config file. I'll update the board file later on. Regards, Gary _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot