From 807dd8decad18d73fe3efd4a17320edae98a3c8b Mon Sep 17 00:00:00 2001 From: Enric Balletbo i Serra Date: Wed, 25 May 2011 09:21:26 +0200 Subject: [PATCH] igep00x0: Remove dummy and unnused functions 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 Signed-off-by: Anand Gadiyar --- board/igep00x0/igep00x0.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/board/igep00x0/igep00x0.c b/board/igep00x0/igep00x0.c index f8de400..b794abb 100644 --- a/board/igep00x0/igep00x0.c +++ b/board/igep00x0/igep00x0.c @@ -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) -{ -} -- 2.39.5