[U-Boot] [PATCH v3 5/5] mx6cuboxi: Load the correct 'fdt_file' variable

Tom Rini trini at konsulko.com
Sat Apr 25 18:58:16 CEST 2015


On Fri, Apr 24, 2015 at 08:46:55AM -0300, Fabio Estevam wrote:

> From: Fabio Estevam <fabio.estevam at 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 <rabeeh at solid-run.com>
> Signed-off-by: Fabio Estevam <fabio.estevam at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150425/09cfbc32/attachment.sig>


More information about the U-Boot mailing list