fixed some compiler warnings

This commit is contained in:
Markus Fröschle
2014-09-01 14:23:33 +00:00
parent f2aae64892
commit 3cac91e754
6 changed files with 159 additions and 75 deletions

View File

@@ -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();