From: Vasant Hegde Date: Thu, 5 Jun 2014 04:43:40 +0000 (+0530) Subject: powerpc/powernv: Pass buffer size to OPAL validate flash call X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b8f7bf4c218628fd243d03fc85cdbc7039e9e35;p=pandora-kernel.git powerpc/powernv: Pass buffer size to OPAL validate flash call We pass actual buffer size to opal_validate_flash() OPAL API call and in return it contains output buffer size. Commit cc146d1d (Fix little endian issues) missed to set the size param before making OPAL call. So firmware image validation fails. This patch sets size variable before making OPAL call. Signed-off-by: Vasant Hegde Tested-by: Thomas Falcon Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed