They have confirmed that the iPhone's A4 processor has 512 MB RAM, unlike the iPad's more limited 256 MB. This decision may have been made fairly late in Apple's development cycle, because early leaked prototype phones only had 256 MB, a giant 1420mAh Li-Polymer battery, touchscreen is protected by impact-resistant glass: Corning Gorilla Glass etc.