igep00x0: Remove dummy and unnused functions
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Wed, 25 May 2011 07:21:26 +0000 (09:21 +0200)
committerAnand Gadiyar <gadiyar@ti.com>
Thu, 14 Jul 2011 12:10:48 +0000 (17:40 +0530)
The abort() is a dummy function that is not being used, and the
get_sysboot_value() function is not being used on IGEP boards, so it's
safe to remove these functions.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/igep00x0/igep00x0.c

index f8de400..b794abb 100644 (file)
@@ -94,16 +94,6 @@ u32 get_device_type(void)
        return mode >>= 8;
 }
 
-/************************************************
- * get_sysboot_value(void) - return SYS_BOOT[4:0]
- ************************************************/
-u32 get_sysboot_value(void)
-{
-       int mode;
-       mode = __raw_readl(CONTROL_STATUS) & (SYSBOOT_MASK);
-       return mode;
-}
-
 /*************************************************************
  * Routine: get_mem_type(void) - returns the kind of memory connected
  * to GPMC that we are trying to boot form. Uses SYS BOOT settings.
@@ -971,9 +961,3 @@ void raise(void)
 {
 }
 
-/******************************************************************************
- * Dummy function to handle errors for EABI incompatibility
- *****************************************************************************/
-void abort(void)
-{
-}