1. A method of forming a memory cell, the method comprising: forming a carbon-based reversible resistance-switching material above a substrate; forming a carbon nitride layer above the carbon-based reversible resistance-switching material; and forming a barrier material above the carbon nitride layer using an atomic layer deposition (“ALD”) process.