OMAP3 SRAM: convert SRAM code to use macros rather than magic numbers