Re: [U-Boot] [PATCH 2/2] common: Generic firmware loader for file system

2017-12-11 Thread Chee, Tien Fong
On Isn, 2017-12-11 at 13:16 +0100, Lothar Waßmann wrote: > Hi, > > On Mon, 11 Dec 2017 18:53:46 +0800 tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > [...} > > > > +/* > > + * Prepare firmware struct; > > + * return -ve if fail. > > + */ > > +static int _request_firmware_pre

Re: [U-Boot] [PATCH 2/2] common: Generic firmware loader for file system

2017-12-11 Thread Lothar Waßmann
Hi, On Mon, 11 Dec 2017 18:53:46 +0800 tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > [...} > +/* > + * Prepare firmware struct; > + * return -ve if fail. > + */ > +static int _request_firmware_prepare(struct firmware **firmware_p, > + const char *name,

[U-Boot] [PATCH 2/2] common: Generic firmware loader for file system

2017-12-11 Thread tien . fong . chee
From: Tien Fong Chee This is file system generic loader which can be used to load the file image from the storage into target such as memory. The consumer driver would then use this loader to program whatever, ie. the FPGA device. Signed-off-by: Tien Fong Chee --- common/Makefile | 1 +