Re: [U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-09-06 Thread Pantelis Antoniou
Hi Taras, What are you doing that makes you call any of the mmc_devices list functions before calling mmc_initialize() Which board has this problem; this looks like a board problem to me. Regards -- Pantelis On Aug 6, 2013, at 7:41 PM, Taras Kondratiuk wrote: Currently mmc_device list is

[U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-08-06 Thread Taras Kondratiuk
Currently mmc_device list is initialized from mmc_initialize() function. So crash happens if any function which use mmc_devices list (find_mmc_device, print_mmc_devices, etc.) is called before mmc_initialize(). Fix this by initializing mmc_devices list statically. Signed-off-by: Taras Kondratiuk