Attach the PNOR mtd device to UBI

Create a new service that gets the PNOR mtd device
from /proc/mtd and performs a ubiattach to it.
Since only one mtd device (PNOR) is being attached,
it's assumed that a /dev/ubi0 device is created.
Later when more devices/chips are attached, a udev
rule might be needed to link them to a specific ubi
device number.

Change-Id: I5e3018b7f4b9551861ca52718cc40b8ccfe0da6e
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed
tree: 226b53aacb198527d262f6746297f09ef4bd8131
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE