Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-18 Thread Heiko Schocher
Hello Andrew, Am 17.11.2014 07:21, schrieb Heiko Schocher: Hello Andrew, Am 14.11.2014 14:31, schrieb Andrew Ruder: On 11/14/2014 12:20 AM, Heiko Schocher wrote: Good catch, but wondering, why this not poped up in my tests, as I did such a test ... Are you on 2014.10? I don't think this is

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-16 Thread Heiko Schocher
Hello Andrew, Am 14.11.2014 14:31, schrieb Andrew Ruder: On 11/14/2014 12:20 AM, Heiko Schocher wrote: Good catch, but wondering, why this not poped up in my tests, as I did such a test ... Are you on 2014.10? I don't think this issue existed on the 2014.07-rc3 I was using earlier. Yes, I

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-14 Thread Andrew Ruder
On 11/14/2014 12:20 AM, Heiko Schocher wrote: > Good catch, but wondering, why this not poped up in my tests, as I > did such a test ... Are you on 2014.10? I don't think this issue existed on the 2014.07-rc3 I was using earlier. - Andy ___ U-Boot ma

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-13 Thread Heiko Schocher
Hello Andrew, Am 13.11.2014 18:05, schrieb Andrew Ruder: Before calling ubi_init() the U-Boot wrapper calls ubi_mtd_param_parse() to have the UBI driver add it to its mtd_dev_param[] array and increment mtd_devs. The first time ubi_init() is called, mtd_devs would be 1. Before ubi_init() is ca

[U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-13 Thread Andrew Ruder
Before calling ubi_init() the U-Boot wrapper calls ubi_mtd_param_parse() to have the UBI driver add it to its mtd_dev_param[] array and increment mtd_devs. The first time ubi_init() is called, mtd_devs would be 1. Before ubi_init() is called again (another partition is attached), ubi_mtd_param_pa