lkml.org 
[lkml]   [2012]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC 2/6] remoteproc: Pass struct fw to load_segments and find_rsc_table.
On Sun, Jun 3, 2012 at 3:54 PM, Ohad Ben-Cohen <ohad@wizery.com> wrote:
>> +rproc_find_rsc_table(struct rproc *rproc, const struct firmware *fw,
>>                                                        int *tablesz)
>>  {
> ...
>> +       /*
>> +        * The ELF entry point is the rproc's boot addr (though this is not
>> +        * a configurable property of all remote processors: some will always
>> +        * boot at a specific hardcoded address).
>> +        */
>> +       rproc->bootaddr = ehdr->e_entry;

We might want to dedicate this (humble) hunk its own handler, because
I'm not sure it fits very well into rproc_find_rsc_table().

Thanks,
Ohad.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-06-03 16:21    [W:0.107 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site