From: Cyril Bur Date: Wed, 1 Apr 2015 06:05:30 +0000 (+0800) Subject: powerpc/powernv: Add interfaces for flash device access X-Git-Tag: omap-for-v4.2/o2_dc~116^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed59190e41b725e1cfd79541f5fc66c20adb0671;p=pandora-kernel.git powerpc/powernv: Add interfaces for flash device access This change adds the OPAL interface definitions to allow Linux to read, write and erase from system flash devices. We register platform devices for the flash devices exported by firmware. We clash with the existing opal_flash_init function, which is really for the FSP flash update functionality, so we rename that initcall to opal_flash_update_init(). A future change will add an mtd driver that uses this interface. Changes from Joel Stanley and Jeremy Kerr. Signed-off-by: Cyril Bur Signed-off-by: Jeremy Kerr Signed-off-by: Joel Stanley Acked-by: Stewart Smith Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed