fixed some compiler warnings
This commit is contained in:
@@ -1061,8 +1061,6 @@ void clear_bss_segment(void)
|
||||
|
||||
void initialize_hardware(void)
|
||||
{
|
||||
bool coldboot = true;
|
||||
|
||||
/* Test for FireTOS switch: DIP switch #5 up */
|
||||
#ifdef MACHINE_FIREBEE
|
||||
if (!(DIP_SWITCH & (1 << 6))) {
|
||||
@@ -1181,7 +1179,7 @@ void initialize_hardware(void)
|
||||
|
||||
init_slt();
|
||||
init_fbcs();
|
||||
coldboot = init_ddram();
|
||||
init_ddram();
|
||||
|
||||
/*
|
||||
* install (preliminary) exception vectors
|
||||
@@ -1227,8 +1225,6 @@ void initialize_hardware(void)
|
||||
}
|
||||
|
||||
#if MACHINE_FIREBEE
|
||||
if (coldboot) /* does not work with BDM */
|
||||
;
|
||||
fpga_configured = init_fpga();
|
||||
|
||||
init_pll();
|
||||
|
||||
Reference in New Issue
Block a user