linux/arch/powerpc/platforms/powernv
Cyril Bur ed59190e41 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 <cyrilbur@gmail.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-04-11 20:49:21 +10:00
..
eeh-powernv.c powerpc/eeh: Replace device_node with pci_dn in eeh_ops 2015-03-24 13:15:52 +11:00
Kconfig powerpc/powernv: Remove powernv RTAS support 2015-04-07 17:15:12 +10:00
Makefile powerpc/powernv: Remove unused file 2015-03-17 10:31:20 +11:00
opal-async.c rtc/tpo: Driver to support rtc and wakeup on PowerNV platform 2014-11-17 18:04:01 +11:00
opal-dump.c powerpc/powernv: only call OPAL_RESEND_DUMP if firmware supports it 2015-03-16 18:50:14 +11:00
opal-elog.c powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports it 2015-03-16 18:50:14 +11:00
opal-flash.c powerpc/powernv: Add interfaces for flash device access 2015-04-11 20:49:21 +10:00
opal-hmi.c powerpc/powernv: Fix the hmi event version check. 2014-11-27 09:32:52 +11:00
opal-lpc.c powerpc/powernv: Properly fix LPC debugfs endianness 2014-10-31 17:09:04 +11:00
opal-memory-errors.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal-msglog.c powerpc/powernv: Fix reading of OPAL msglog 2014-06-11 17:03:36 +10:00
opal-nvram.c powerpc/powernv: Add pstore support on powernv 2015-03-23 14:06:10 +11:00
opal-power.c powerpc/powernv: Add OPAL soft-poweroff routine 2015-02-04 13:08:25 +11:00
opal-rtc.c rtc/tpo: Driver to support rtc and wakeup on PowerNV platform 2014-11-17 18:04:01 +11:00
opal-sensor.c powerpc/powernv: handle OPAL_SUCCESS return in opal_sensor_read 2015-03-31 14:50:35 +11:00
opal-sysparam.c powernv: Fix permissions on sysparam sysfs entries 2014-06-11 17:03:15 +10:00
opal-tracepoints.c powerpc: Replace __get_cpu_var uses 2014-11-03 12:12:32 +11:00
opal-wrappers.S powerpc/powernv: Add interfaces for flash device access 2015-04-11 20:49:21 +10:00
opal-xscom.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
opal.c powerpc/powernv: Add interfaces for flash device access 2015-04-11 20:49:21 +10:00
pci-ioda.c powerpc/powernv: Move controller ops from ppc_md to controller_ops 2015-04-11 20:49:16 +10:00
pci-p5ioc2.c powerpc/powernv: Move controller ops from ppc_md to controller_ops 2015-04-11 20:49:16 +10:00
pci.c powerpc/powernv: Move controller ops from ppc_md to controller_ops 2015-04-11 20:49:16 +10:00
pci.h powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor 2015-03-24 13:15:50 +11:00
powernv.h powerpc/powernv: Move controller ops from ppc_md to controller_ops 2015-04-11 20:49:16 +10:00
rng.c powerpc/powernv: Switch powernv drivers to use machine_xxx_initcall() 2014-07-28 14:11:26 +10:00
setup.c powerpc/powernv: Remove powernv RTAS support 2015-04-07 17:15:12 +10:00
smp.c powerpc/powernv: Remove powernv RTAS support 2015-04-07 17:15:12 +10:00
subcore-asm.S powerpc/powernv: Add support for POWER8 split core on powernv 2014-05-28 13:35:37 +10:00
subcore.c powernv/powerpc: Add winkle support for offline cpus 2014-12-15 10:46:41 +11:00
subcore.h powernv/powerpc: Add winkle support for offline cpus 2014-12-15 10:46:41 +11:00