RE: [RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2013-01-15 Thread Sjur BRENDELAND
Hi Ido, > From: Ido Yariv [mailto:i...@wizery.com] > > +struct resource_table *rproc_elf_get_rsctab_addr(struct rproc *rproc, > > +const struct firmware *fw) > > +{ > > + struct elf32_shdr *shdr; > > + > > + shdr = find_rsc_shdr(>dev, (struct

RE: [RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2013-01-15 Thread Sjur BRENDELAND
Hi Ido, From: Ido Yariv [mailto:i...@wizery.com] +struct resource_table *rproc_elf_get_rsctab_addr(struct rproc *rproc, +const struct firmware *fw) +{ + struct elf32_shdr *shdr; + + shdr = find_rsc_shdr(rproc-dev, (struct elf32_hdr

Re: [RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2012-12-20 Thread Ido Yariv
Hi Sjur, On Fri, Dec 14, 2012 at 05:06:58PM +0100, Sjur Brændeland wrote: > Add function find_rsc_table_va to firmware ops. This function > returns the location of the resource table in shared memory > after loading. > > Signed-off-by: Sjur Brændeland > --- >

Re: [RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2012-12-20 Thread Ido Yariv
Hi Sjur, On Fri, Dec 14, 2012 at 05:06:58PM +0100, Sjur Brændeland wrote: Add function find_rsc_table_va to firmware ops. This function returns the location of the resource table in shared memory after loading. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com ---

[RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2012-12-14 Thread Sjur Brændeland
Add function find_rsc_table_va to firmware ops. This function returns the location of the resource table in shared memory after loading. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_elf_loader.c | 16 ++- drivers/remoteproc/remoteproc_internal.h | 13

[RFCv2 09/11] remoteproc: Add operation to find resource table in memory

2012-12-14 Thread Sjur Brændeland
Add function find_rsc_table_va to firmware ops. This function returns the location of the resource table in shared memory after loading. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com --- drivers/remoteproc/remoteproc_elf_loader.c | 16 ++-