Re: [U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-23 Thread Stefano Babic
Hi Nikolay, On 23/04/2015 16:38, Nikolay Dimitrov wrote: > > As more and more board variants are supported by unified source files, > functions like "is_specificboard()" are not scaling well - there's a > repetitive code for extracting hw-specific info, and then there's the > multiple functions t

Re: [U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-23 Thread Nikolay Dimitrov
Hi Fabio, guys, On 04/23/2015 06:57 AM, Fabio Estevam wrote: From: Fabio Estevam Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cubo

Re: [U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-22 Thread Stefano Babic
Hi Fabio, On 23/04/2015 05:57, Fabio Estevam wrote: > From: Fabio Estevam > > Introduce is_hummingboard() function that reads GPIOs that can distinguish > between Cubox-i and Hummingboard. > > Print the board name accordingly. > > Signed-off-by: Fabio Estevam > --- > board/solidrun/mx6cuboxi

[U-Boot] [PATCH 4/5] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-22 Thread Fabio Estevam
From: Fabio Estevam Introduce is_hummingboard() function that reads GPIOs that can distinguish between Cubox-i and Hummingboard. Print the board name accordingly. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cuboxi.c | 41 +++- 1 file changed, 4