Dynamically set size of pnor read-only partition

- The pnor read-only partition contains the contents
  of the squashfs image. Therefore the corresponding
  ubi volume should only be as big in size.
- This would allow us to increase the number of active
  pnor version we can possibly store on pnor chip.

Resolves openbmc/openbmc#1840

Change-Id: I5e35a0fcd62e947919f4c9489642188ae2fe49bb
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed