Re: [U-Boot] [PATCH 07/27] spl: Convert boot_device into a struct

2016-09-18 Thread Tom Rini
On Sun, Sep 18, 2016 at 01:44:56PM -0600, Simon Glass wrote: > At present some spl_xxx_load_image() functions take a parameter and some > don't. Of those that do, most take an integer but one takes a string. > > Convert this parameter into a struct so that we can pass all functions the > same thi

[U-Boot] [PATCH 07/27] spl: Convert boot_device into a struct

2016-09-18 Thread Simon Glass
At present some spl_xxx_load_image() functions take a parameter and some don't. Of those that do, most take an integer but one takes a string. Convert this parameter into a struct so that we can pass all functions the same thing. This will allow us to use a common function signature. Signed-off-b