OMAP3: Move try_unlock_memory() function to not duplicate code
[pandora-x-loader.git] / board / omap3530beagle / omap3530beagle.c
index c861b21..c85bebf 100644 (file)
@@ -519,23 +519,6 @@ void prcm_init(void)
        delay(5000);
 }
 
-/**********************************************************
- * Routine: try_unlock_sram()
- * Description: If chip is GP type, unlock the SRAM for
- *  general use.
- ***********************************************************/
-void try_unlock_memory(void)
-{
-       int mode;
-
-       /* if GP device unlock device SRAM for general use */
-       /* secure code breaks for Secure/Emulation device - HS/E/T */
-       mode = get_device_type();
-       if (mode == GP_DEVICE)
-               secure_unlock();
-       return;
-}
-
 /**********************************************************
  * Routine: s_init
  * Description: Does early system init of muxing and clocks.