On Fri, Apr 24, 2015 at 08:46:55AM -0300, Fabio Estevam wrote: > From: Fabio Estevam <fabio.este...@freescale.com> > > Instead of hardcoding the 'fdt_file' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on a patch from Rabeeh Khoury. > > Signed-off-by: Rabeeh Khoury <rab...@solid-run.com> > Signed-off-by: Fabio Estevam <fabio.este...@freescale.com>
I'm biased but I'd really like to see something like board/ti/am335x/board.c::board_late_init() where we use CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG and set board_name / board_rev and let the shell handle whatever else may come. This will make handling any future revs / board types easier and be more flexible. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot