Skip to content
Snippets Groups Projects
Commit 606667d2 authored by stany MARCEL's avatar stany MARCEL Committed by jason
Browse files

ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined


A temp variable was used but not declared, with CONFIG_SYS_DRAMSZ1
defined. This variable is now declared in the functione when needed.

Signed-off-by: default avatarStany MARCEL <stany.marcel@novasys-ingenierie.com>
parent 327474f8
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,9 @@ phys_size_t initdram(int board_type)
volatile siu_t *siu = (siu_t *) (MMAP_SIU);
volatile sdram_t *sdram = (volatile sdram_t *)(MMAP_SDRAM);
u32 dramsize, i;
#ifdef CONFIG_SYS_DRAMSZ1
u32 temp;
#endif
siu->drv = CONFIG_SYS_SDRAM_DRVSTRENGTH;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment