]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
integratorap/cp/versatile: remove non used functions
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 16 May 2009 22:58:36 +0000 (00:58 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 22 Jun 2009 22:10:04 +0000 (00:10 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Peter Pearse <peter.pearse@arm.com>
board/armltd/integratorap/integratorap.c
board/armltd/integratorcp/integratorcp.c
board/armltd/versatile/versatile.c

index b20b129837c12638d85fe9c7590258624ecf2404..f58956e6fba7330c8a2ef3f21e715c4f8c72ed55 100644 (file)
@@ -38,8 +38,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-void flash__init (void);
-void ether__init (void);
 void peripheral_power_enable (void);
 
 #if defined(CONFIG_SHOW_BOOT_PROGRESS)
@@ -51,13 +49,6 @@ void show_boot_progress(int progress)
 
 #define COMP_MODE_ENABLE ((unsigned int)0x0000EAEF)
 
-static inline void delay (unsigned long loops)
-{
-       __asm__ volatile ("1:\n"
-               "subs %0, %1, #1\n"
-               "bne 1b":"=r" (loops):"0" (loops));
-}
-
 /*
  * Miscellaneous platform dependent initialisations
  */
@@ -79,11 +70,9 @@ extern void cm_remap(void);
 
        icache_enable ();
 
-       flash__init ();
        return 0;
 }
 
-
 int misc_init_r (void)
 {
 #ifdef CONFIG_PCI
@@ -93,23 +82,6 @@ int misc_init_r (void)
        return (0);
 }
 
-
-/******************************
- Routine:
- Description:
-******************************/
-void flash__init (void)
-{
-}
-/*************************************************************
- Routine:ether__init
- Description: take the Ethernet controller out of reset and wait
-                          for the EEPROM load to complete.
-*************************************************************/
-void ether__init (void)
-{
-}
-
 /******************************
  Routine:
  Description:
index 16620bb9d8ba0fd3b07a725d1bcc193a869a06ff..589714784f6947b0dca5a8af60133eeb35cc1e21 100644 (file)
@@ -37,8 +37,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-void flash__init (void);
-void ether__init (void);
 void peripheral_power_enable (void);
 
 #if defined(CONFIG_SHOW_BOOT_PROGRESS)
@@ -71,34 +69,15 @@ extern void cm_remap(void);
 
        icache_enable ();
 
-       flash__init ();
-       ether__init ();
        return 0;
 }
 
-
 int misc_init_r (void)
 {
        setenv("verify", "n");
        return (0);
 }
 
-/******************************
- Routine:
- Description:
-******************************/
-void flash__init (void)
-{
-}
-/*************************************************************
- Routine:ether__init
- Description: take the Ethernet controller out of reset and wait
-             for the EEPROM load to complete.
-*************************************************************/
-void ether__init (void)
-{
-}
-
 /******************************
  Routine:
  Description:
index 0f35caa9be664ebc2138f53f89db3ba272dffe6a..197bc896ac26db3dd2ae8ea46b61a323014705d3 100644 (file)
@@ -46,13 +46,6 @@ void show_boot_progress(int progress)
 
 #define COMP_MODE_ENABLE ((unsigned int)0x0000EAEF)
 
-static inline void delay (unsigned long loops)
-{
-       __asm__ volatile ("1:\n"
-               "subs %0, %1, #1\n"
-               "bne 1b":"=r" (loops):"0" (loops));
-}
-
 /*
  * Miscellaneous platform dependent initialisations
  */