Handle different ram sizes of RPi revisions (256 & 512)