[U-Boot] [PATCH] ARM/Versatile port: Removed unused functions

Roman Mashak romez777 at gmail.com
Tue Oct 21 05:01:41 CEST 2008


Removal of never used functions.

Signed-off-by: Roman Mashak <romez777 at gmail.com>
---
 board/versatile/versatile.c |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/board/versatile/versatile.c b/board/versatile/versatile.c
index 3b9b020..0f35caa 100644
--- a/board/versatile/versatile.c
+++ b/board/versatile/versatile.c
@@ -37,10 +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)
 void show_boot_progress(int progress)
 {
@@ -82,8 +78,6 @@ int board_init (void)

 	icache_enable ();

-	flash__init ();
-	ether__init ();
 	return 0;
 }

@@ -98,22 +92,6 @@ int misc_init_r (void)
  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:
-******************************/
 int dram_init (void)
 {
 	return 0;
-- 
1.4.4.4


More information about the U-Boot mailing list