[Skiboot] [PATCH 0/5] Update opal-prd and improve blocklevel

Cyril Bur cyril.bur at au1.ibm.com
Mon Jan 4 13:23:06 AEDT 2016


This series will need to be applied onto my rework of opal-prd:
https://patchwork.ozlabs.org/patch/558688/

The main goal of this series is to have opal-prd use the external/common
and libflash to reduce of duplicated code and be able to do correct
detection of the /dev/mtd which is the platform flash.

In the process I've had to add the ability to blocklevel to not keep a file
open all the time, a fairly simple addition which will hopefully be of
benefit to someone else one day.

Cyril Bur (5):
  libflash/blocklevel: Add keep_alive parameter
  external/opal-prd: Fix test_pnor
  travis: Add external/opal-prd build and tests
  external/opal-prd: Use libflash/blocklevel for MTD/file accesses
  Drop LDFLAGS from common/rules.mk

 .travis.yml                          |   5 +
 external/common/arch_flash.h         |   3 +-
 external/common/arch_flash_arm.c     |   4 +-
 external/common/arch_flash_powerpc.c |   8 +-
 external/common/arch_flash_x86.c     |   4 +-
 external/common/rules.mk             |   4 +-
 external/gard/gard.c                 |   2 +-
 external/opal-prd/Makefile           |  27 +++--
 external/opal-prd/opal-prd.c         |  12 +-
 external/opal-prd/pnor.c             | 215 ++++++-----------------------------
 external/opal-prd/pnor.h             |   2 +
 external/opal-prd/test/test_pnor.c   |  10 ++
 external/pflash/pflash.c             |   2 +-
 libflash/blocklevel.c                |  70 +++++++++++-
 libflash/blocklevel.h                |   4 +
 libflash/file.c                      |  94 +++++++++++----
 libflash/file.h                      |   4 +-
 libflash/libflash.c                  |   4 +
 18 files changed, 238 insertions(+), 236 deletions(-)

-- 
2.6.4



More information about the Skiboot mailing list