Simultaneous manufacturing of periphery and memory cells including only one type of peripheral transistor