85xx: remove dummy board_early_init_f
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>
This commit is contained in:
parent
81e56e9af0
commit
ddde74a159
|
@ -41,12 +41,6 @@ void local_bus_init(void);
|
||||||
void sdram_init(void);
|
void sdram_init(void);
|
||||||
long int fixed_sdram(void);
|
long int fixed_sdram(void);
|
||||||
|
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
puts("Board: ADS\n");
|
puts("Board: ADS\n");
|
||||||
|
|
|
@ -196,11 +196,6 @@ const iop_conf_t iop_conf_tab[4][32] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
|
|
|
@ -40,11 +40,6 @@ extern void ddr_enable_ecc(unsigned int dram_size);
|
||||||
|
|
||||||
void sdram_init(void);
|
void sdram_init(void);
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
|
|
|
@ -45,11 +45,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
void local_bus_init(void);
|
void local_bus_init(void);
|
||||||
void sdram_init(void);
|
void sdram_init(void);
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
|
|
|
@ -194,11 +194,6 @@ const iop_conf_t iop_conf_tab[4][32] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int checkboard (void)
|
int checkboard (void)
|
||||||
{
|
{
|
||||||
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
|
||||||
|
|
|
@ -212,12 +212,6 @@ typedef struct bcsr_ {
|
||||||
volatile unsigned char bcsr5;
|
volatile unsigned char bcsr5;
|
||||||
} bcsr_t;
|
} bcsr_t;
|
||||||
|
|
||||||
|
|
||||||
int board_early_init_f (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void reset_phy (void)
|
void reset_phy (void)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_ETHER_ON_FCC) /* avoid compile warnings for now */
|
#if defined(CONFIG_ETHER_ON_FCC) /* avoid compile warnings for now */
|
||||||
|
|
|
@ -87,8 +87,6 @@
|
||||||
#define CONFIG_BTB /* toggle branch predition */
|
#define CONFIG_BTB /* toggle branch predition */
|
||||||
#define CONFIG_ADDR_STREAMING /* toggle addr streaming */
|
#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_START 0x00200000 /* memtest region */
|
||||||
#define CFG_MEMTEST_END 0x00400000
|
#define CFG_MEMTEST_END 0x00400000
|
||||||
|
|
||||||
|
|
|
@ -73,8 +73,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#define CONFIG_BTB /* toggle branch predition */
|
#define CONFIG_BTB /* toggle branch predition */
|
||||||
#define CONFIG_ADDR_STREAMING /* toggle addr streaming */
|
#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_START 0x00200000 /* memtest works on */
|
||||||
#define CFG_MEMTEST_END 0x00400000
|
#define CFG_MEMTEST_END 0x00400000
|
||||||
|
|
||||||
|
|
|
@ -83,8 +83,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
*/
|
*/
|
||||||
#define CONFIG_ENABLE_36BIT_PHYS 1
|
#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_START 0x00200000 /* memtest works on */
|
||||||
#define CFG_MEMTEST_END 0x00400000
|
#define CFG_MEMTEST_END 0x00400000
|
||||||
#define CONFIG_PANIC_HANG /* do not reset board on panic */
|
#define CONFIG_PANIC_HANG /* do not reset board on panic */
|
||||||
|
|
|
@ -87,8 +87,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
*/
|
*/
|
||||||
#define CONFIG_ENABLE_36BIT_PHYS 1
|
#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_START 0x00200000 /* memtest works on */
|
||||||
#define CFG_MEMTEST_END 0x00400000
|
#define CFG_MEMTEST_END 0x00400000
|
||||||
|
|
||||||
|
|
|
@ -73,8 +73,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#define CONFIG_BTB /* toggle branch predition */
|
#define CONFIG_BTB /* toggle branch predition */
|
||||||
#define CONFIG_ADDR_STREAMING /* toggle addr streaming */
|
#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_START 0x00200000 /* memtest works on */
|
||||||
#define CFG_MEMTEST_END 0x00400000
|
#define CFG_MEMTEST_END 0x00400000
|
||||||
|
|
||||||
|
|
|
@ -80,8 +80,6 @@
|
||||||
#define CONFIG_BTB /* toggle branch predition */
|
#define CONFIG_BTB /* toggle branch predition */
|
||||||
#define CONFIG_ADDR_STREAMING /* toggle addr streaming */
|
#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_INIT_DBCR DBCR_IDM /* Enable Debug Exceptions */
|
||||||
|
|
||||||
#define CFG_MEMTEST_START 0x00200000 /* memtest region */
|
#define CFG_MEMTEST_START 0x00200000 /* memtest region */
|
||||||
|
|
Loading…
Reference in New Issue