zero warnings days...

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5442 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-04-15 12:39:29 +00:00
committed by Stefan Reinauer
parent c30a6e859e
commit 23836e2345
48 changed files with 826 additions and 981 deletions

View File

@@ -1,4 +1,5 @@
#define DEBUG_PLL 0
#define PLL_CRTC_DECODE 0
/* FIXME: remove the FAIL definition */
#if 0
@@ -123,9 +124,7 @@ static int aty_valid_pll_ct(const struct fb_info_aty *info, u32 vclk_per,
#if DEBUG_PLL==1
int pllmclk, pllsclk;
#endif
u32 q, x; /* x is a workaround for sparc64-linux-gcc */
x = x; /* x is a workaround for sparc64-linux-gcc */
u32 q;
pll->pll_ref_div = info->pll_per*2*255/info->ref_clk_per;

View File

@@ -485,12 +485,12 @@ static void aty_calc_mem_refresh(struct fb_info_aty *info, u16 id, int xclk)
static void ati_ragexl_init(device_t dev)
{
u32 chip_id;
u32 i;
int j;
u16 type;
u8 rev;
const char *chipname = NULL;
#if CONFIG_CONSOLE_BTEXT
u32 i;
const char *xtal;
#endif
int pll, mclk, xclk;