summaryrefslogtreecommitdiffstats
path: root/platforms/astbmc
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2016-01-04 13:23:10 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-01-15 15:04:57 +1100
commit748e38b6203f5e4bc3552e9ec9ae5fc85ca723d8 (patch)
tree52e1a59c055420e2519e61636a82fd12c5ae6349 /platforms/astbmc
parent77b97a12d91cfd7ffe23276dea35c401e8989f73 (diff)
downloadtalos-skiboot-748e38b6203f5e4bc3552e9ec9ae5fc85ca723d8.tar.gz
talos-skiboot-748e38b6203f5e4bc3552e9ec9ae5fc85ca723d8.zip
external/opal-prd: Use libflash/blocklevel for MTD/file accesses
pnor.c existed before blocklevel, it is time that this code got updated to use the available libraries. Changes include using the blocklevel accessors for MTD reads and writes rather than read() and write() on a file descriptor. This patch also makes use of the arch_flash_init() auto detection of the /dev/mtd device which corresponds to the MTD device exposed by skiboot for access to platform flash. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/astbmc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud