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

2016-09-27 Thread Tom Rini
On Sat, Sep 24, 2016 at 06:19:57PM -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

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

2016-09-24 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.