Re: [U-Boot] [PATCH] dm: add of_match_ptr() macro

2014-10-09 Thread Simon Glass
On 7 October 2014 22:15, Simon Glass s...@chromium.org wrote: On 6 October 2014 23:51, Masahiro Yamada yamad...@jp.panasonic.com wrote: The driver model supports two ways for passing device parameters; Device Tree and platform_data (board file). Each driver should generally support both of

Re: [U-Boot] [PATCH] dm: add of_match_ptr() macro

2014-10-07 Thread Simon Glass
On 6 October 2014 23:51, Masahiro Yamada yamad...@jp.panasonic.com wrote: The driver model supports two ways for passing device parameters; Device Tree and platform_data (board file). Each driver should generally support both of them because some popular IPs are used on various platforms.

[U-Boot] [PATCH] dm: add of_match_ptr() macro

2014-10-06 Thread Masahiro Yamada
The driver model supports two ways for passing device parameters; Device Tree and platform_data (board file). Each driver should generally support both of them because some popular IPs are used on various platforms. Assume the following scenario: - The driver Foo is used on SoC Bar and SoC Baz