remoteproc: refactor rproc_elf_find_rsc_table()
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Thu, 21 Feb 2013 17:15:33 +0000 (18:15 +0100)
committerOhad Ben-Cohen <ohad@wizery.com>
Fri, 5 Apr 2013 05:49:44 +0000 (08:49 +0300)
commitf665b2cd3f569a353c0a62b03a95827dd8743e9b
treea7b6577f28d6a8af3170c82f96936c9069b15c67
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
remoteproc: refactor rproc_elf_find_rsc_table()

Refactor 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.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Ido Yariv <ido@wizery.com>
[small function name change to make the code easier to read]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_elf_loader.c