Platform: AM335x without PMIC
File: arch/arm/mach-omap2/pm33xx.c & sram.c
SuspendToRam has to be enabled for completing all the compilation.
It seems the code does not handle CONFIG_CPU_PM or CONFIG_SUSPEND well in function am33xx_pm_init & am33xx_sram_init.