commit | ae81da466084a2db45e41e06f01123f2f35002dc | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Thu Jan 24 11:00:48 2019 +0800 |
committer | Lei YU <mine260309@gmail.com> | Thu Jan 24 11:24:49 2019 +0800 |
tree | 241335a5cafca6fdf9411ce4c7d775802fdef8d6 | |
parent | 17f55a823134a35b7847b2ae4077ae81f9c0cf79 [diff] |
Allow delete functional PNOR if only 1 PNOR is allowed When a system only supports 1 PNOR (e.g. 64MiB chip), it shall define ACTIVE_PNOR_MAX_ALLOWED to 1. In this case, the PNOR code update shall delete the exising functional PNOR to free the space for the new PNOR, otherwise there will be not enough space for the new PNOR, and the code update will fail. So change the logic in freeSpace() to allow delete functional PNOR if ACTIVE_PNOR_MAX_ALLOWED is defined to 1. Tested: Enable openpower-ubi on Romulus and verify PNOR code update succeeds. Change-Id: Ib46c8a542d6baf02b60c3453686d7fe831468e6e Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.