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

This reverts commit ff2dea77af497266fde46e9ec01a55546d0cdeb1.