]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
85xx: remove dummy board_early_init_f
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jun 2008 03:31:57 +0000 (22:31 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 11 Jun 2008 05:36:02 +0000 (00:36 -0500)
A number of board ports have empty version of board_early_init_f
for no reason since we control its via CONFIG_BOARD_EARLY_INIT_F.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
12 files changed:
board/freescale/mpc8540ads/mpc8540ads.c
board/freescale/mpc8541cds/mpc8541cds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8555cds/mpc8555cds.c
board/freescale/mpc8560ads/mpc8560ads.c
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h

index ea1fbd1fbf714e40b2771cf822bfd6aae64c689d..051f98570f815f5bfaa3f55d9ffc1941a184e96e 100644 (file)
@@ -41,12 +41,6 @@ void local_bus_init(void);
 void sdram_init(void);
 long int fixed_sdram(void);
 
-
-int board_early_init_f (void)
-{
-    return 0;
-}
-
 int checkboard (void)
 {
        puts("Board: ADS\n");
index b001dbd7905e0042945d5c5869e21cc19675aa01..420a89ab1fd56624717ae51a3cc0e8d1c471efdd 100644 (file)
@@ -196,11 +196,6 @@ const iop_conf_t iop_conf_tab[4][32] = {
     }
 };
 
-int board_early_init_f (void)
-{
-       return 0;
-}
-
 int checkboard (void)
 {
        volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
index 150f86716a28b57f3895f8612b3d3f3ba342e3d9..5041426edca5fe10131cf36232cff66ca5b61f74 100644 (file)
@@ -40,11 +40,6 @@ extern void ddr_enable_ecc(unsigned int dram_size);
 
 void sdram_init(void);
 
-int board_early_init_f (void)
-{
-       return 0;
-}
-
 int checkboard (void)
 {
        volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
index 0b20ba298bee5c3c28738f8bb8853d6fbf5b1abb..ad29734b20f245d1de3a9654bdd7c72efb60d325 100644 (file)
@@ -45,11 +45,6 @@ DECLARE_GLOBAL_DATA_PTR;
 void local_bus_init(void);
 void sdram_init(void);
 
-int board_early_init_f (void)
-{
-       return 0;
-}
-
 int checkboard (void)
 {
        volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
index 94589c751a2a980fb1f3b84dd2a3b20992c08eff..74e20cb23fe16d706b8ad2e32ef2d833207d8626 100644 (file)
@@ -194,11 +194,6 @@ const iop_conf_t iop_conf_tab[4][32] = {
     }
 };
 
-int board_early_init_f (void)
-{
-       return 0;
-}
-
 int checkboard (void)
 {
        volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
index 6f65499fcd1002614cee943ec429bfe200b7ab45..144b584800d3d70c0c22b28941c991ce976ce5c3 100644 (file)
@@ -212,12 +212,6 @@ typedef struct bcsr_ {
        volatile unsigned char bcsr5;
 } bcsr_t;
 
-
-int board_early_init_f (void)
-{
-    return 0;
-}
-
 void reset_phy (void)
 {
 #if defined(CONFIG_ETHER_ON_FCC) /* avoid compile warnings for now */
index 37f062f94738b6a352265fb36ca113bcb2196464..d1d3cc360692f02e3ead3714c44150f24d0ce4ac 100644 (file)
@@ -87,8 +87,6 @@
 #define CONFIG_BTB                     /* toggle branch predition */
 #define CONFIG_ADDR_STREAMING          /* toggle addr streaming */
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_MEMTEST_START      0x00200000      /* memtest region */
 #define CFG_MEMTEST_END                0x00400000
 
index 65a34cc33bbacfb851fa0d178e32332afcfce1e9..a64565db931f5c2ecda6647c2f48361415ea6d6c 100644 (file)
@@ -73,8 +73,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BTB                         /* toggle branch predition */
 #define CONFIG_ADDR_STREAMING              /* toggle addr streaming   */
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_MEMTEST_START      0x00200000      /* memtest works on */
 #define CFG_MEMTEST_END                0x00400000
 
index acb16829fbfd8b27a73a2c9a34436dc9d6dd6d82..669f4d7c8b9aedc1ac87f230ddfbd30235b19167 100644 (file)
@@ -83,8 +83,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  */
 #define CONFIG_ENABLE_36BIT_PHYS       1
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_MEMTEST_START      0x00200000      /* memtest works on */
 #define CFG_MEMTEST_END                0x00400000
 #define CONFIG_PANIC_HANG      /* do not reset board on panic */
index 51c9064c65de2f4d6c3370a4affb16d26041e9ef..acf6f0dce6a2d2cb00dbe4ddf92dc0a389a58673 100644 (file)
@@ -87,8 +87,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_ENABLE_36BIT_PHYS       1
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_MEMTEST_START      0x00200000      /* memtest works on */
 #define CFG_MEMTEST_END                0x00400000
 
index 797644f0d34b46bd673bf4154d14dcc1de56c502..1948c0d276fd1eb0a16d7cdcf1eac6e7be1c6b32 100644 (file)
@@ -73,8 +73,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BTB                         /* toggle branch predition */
 #define CONFIG_ADDR_STREAMING              /* toggle addr streaming   */
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_MEMTEST_START      0x00200000      /* memtest works on */
 #define CFG_MEMTEST_END                0x00400000
 
index 52e9362eaca2fc48b93e0336a62520afbc6e89ce..a3fcad35d2e2dd754b824551cac665eed6aaf1d5 100644 (file)
@@ -80,8 +80,6 @@
 #define CONFIG_BTB                     /* toggle branch predition */
 #define CONFIG_ADDR_STREAMING          /* toggle addr streaming */
 
-#define CONFIG_BOARD_EARLY_INIT_F      1       /* Call board_pre_init */
-
 #define CFG_INIT_DBCR DBCR_IDM         /* Enable Debug Exceptions */
 
 #define CFG_MEMTEST_START      0x00200000      /* memtest region */