From: Anton Blanchard Date: Tue, 22 Apr 2014 05:01:26 +0000 (+1000) Subject: powerpc/powernv: Create OPAL sglist helper functions and fix endian issues X-Git-Tag: omap-for-v3.16/pm-signed~36^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3441f04b4b62758a798f9fbbf2047dfedf0329a5;p=pandora-kernel.git powerpc/powernv: Create OPAL sglist helper functions and fix endian issues We have two copies of code that creates an OPAL sg list. Consolidate these into a common set of helpers and fix the endian issues. The flash interface embedded a version number in the num_entries field, whereas the dump interface did did not. Since versioning wasn't added to the flash interface and it is impossible to add this in a backwards compatible way, just remove it. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed