Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam > ---Applied to u-boot

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
Hi Fabio, On 27/04/2015 12:11, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Apr 27, 2015 at 4:51 AM, Stefano Babic wrote: > >>> +int board_late_init(void) >>> +{ >>> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG >>> + if (is_hummingboard()) >>> + setenv("board_name", "HUMMINGBO

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Fabio Estevam
Hi Stefano, On Mon, Apr 27, 2015 at 4:51 AM, Stefano Babic wrote: >> +int board_late_init(void) >> +{ >> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG >> + if (is_hummingboard()) >> + setenv("board_name", "HUMMINGBOARD"); >> + else >> + setenv("board_name", "CUBOXI

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
Hi Fabio, On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam > --- > Chang

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Tom Rini
On Sat, Apr 25, 2015 at 06:47:21PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam T

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Vagrant Cascadian
On 2015-04-25, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam Tested-By: Vagrant Cascadian >

[U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-25 Thread Fabio Estevam
From: Fabio Estevam Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and board variant on the fly and change the dtb name. Based on the scheme done on am335x board. Signed-off-by: Fabio Estevam --- Changes since v4: - None board/solidrun/mx6cuboxi/mx6cuboxi.c | 25 +