
18 Apr
2014
18 Apr
'14
6:42 p.m.
On Fri, Apr 18, 2014 at 10:56 AM, Tom Rini trini@ti.com wrote:
On Fri, Apr 18, 2014 at 08:44:49AM -0700, Tom Warren wrote:
If Rob broke it, Rob should fix it.
Well, it's non-obvious system details, in some cases. I can guess at CONFIG_SYS_MMC_MAX_DEVICE for Tegra for example, but there was some other breakage wrt lcd things.
This config option is to set max_dev in api_storage.c. IMHO, the use of max_dev is a bit pointless. The get_dev function will return NULL when there are no more devices. My plan to fix is by removing max_dev usage altogether.
There also appears to be a bug in that more than 1 device of a given type will never be enumerated. The problem is in dev_stor_get. When first is set, then *more is always returned as 0.
Rob