remoteproc: bail out if firmware has different endianess
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 31 Jan 2012 13:23:41 +0000 (15:23 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Wed, 22 Feb 2012 16:28:49 +0000 (18:28 +0200)
commitcf59d3e9a715fd2b6ff96e4a3a130fceded09a64
treeefc2040a4e7a60863589ee1b7415516dffbf7c90
parentdd6da1c5e99a3b736b52370c504a2b8843cbfda6
remoteproc: bail out if firmware has different endianess

At this point we don't support remote processors that have
a different endianess than the host.

Look out for these unsupported scenarios, and bail out if
encountered.

Reported-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Mark Grosen <mgrosen@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
drivers/remoteproc/remoteproc_core.c