[PATCH 1/2] powerpc/powernv: Add interfaces for flash device access

Stewart Smith stewart at linux.vnet.ibm.com
Wed Apr 1 19:16:14 PDT 2015


Jeremy Kerr <jk at ozlabs.org> writes:

> From: Cyril Bur <cyrilbur at gmail.com>
>
> 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 at gmail.com>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Acking that firmware calls are merged into skiboot.

Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>




More information about the linux-mtd mailing list