[RFC 1/5] remoteproc: Refactor function rproc_elf_find_rsc_table

2012-12-06 Thread Sjur Brændeland
Refatcor rproc_elf_find_rsc_table and split out the scanning for the section header named resource table. This is done to prepare for loading firmware once when rproc is registered. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_elf_loader.c | 83 +---

[RFC 1/5] remoteproc: Refactor function rproc_elf_find_rsc_table

2012-12-06 Thread Sjur Brændeland
Refatcor rproc_elf_find_rsc_table and split out the scanning for the section header named resource table. This is done to prepare for loading firmware once when rproc is registered. Signed-off-by: Sjur Brændeland sjur.brandel...@stericsson.com --- drivers/remoteproc/remoteproc_elf_loader.c |