Re: [U-Boot] [PATCH v3 11/16] dm: Add a demonstration/example driver

2013-10-18 Thread Simon Glass
Hi Marek, On Fri, Jun 28, 2013 at 3:46 PM, Marek Vasut ma...@denx.de wrote: Dear Simon Glass, As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and

Re: [U-Boot] [PATCH v3 11/16] dm: Add a demonstration/example driver

2013-06-28 Thread Marek Vasut
Dear Simon Glass, As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and

[U-Boot] [PATCH v3 11/16] dm: Add a demonstration/example driver

2013-06-18 Thread Simon Glass
As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and CONFIG_DM_DEMO_SHAPE.