Revert "staging: android: persistent_ram: refactor ecc support"

This reverts commit f49dc426065457e8ed2b71ab4a1f0d51e87697ac.