From: Tom Rini Date: Sat, 25 Apr 2015 12:58:16 -0400 Subject: [U-Boot] [PATCH v3 5/5] mx6cuboxi: Load the correct 'fdt_file' variable In-Reply-To: <1429876015-22540-5-git-send-email-festevam@gmail.com> References: <1429876015-22540-1-git-send-email-festevam@gmail.com> <1429876015-22540-5-git-send-email-festevam@gmail.com> Message-ID: <20150425165816.GU16702@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Apr 24, 2015 at 08:46:55AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > 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 > Signed-off-by: Fabio Estevam 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: