summaryrefslogtreecommitdiff
path: root/board/sandburst/karef/karef.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-24 19:54:50 (GMT)
committerWolfgang Denk <wd@pollux.(none)>2005-09-24 19:54:50 (GMT)
commit2b792afcc517dcca14c898d3ce444c2bbb7be31a (patch)
treec689842d41c91bff6054245e0211f18b5c095528 /board/sandburst/karef/karef.c
parent9ea4b5886a3aa18bae73d0b6b311f7b93e762faa (diff)
downloadu-boot-fsl-qoriq-2b792afcc517dcca14c898d3ce444c2bbb7be31a.tar.xz
* Fix PHY address argument passing with mii info command
Patch by Andrew Dyer, 28 Dec 2004 * Cleanup: fix broken builds
Diffstat (limited to 'board/sandburst/karef/karef.c')
-rw-r--r--board/sandburst/karef/karef.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/sandburst/karef/karef.c b/board/sandburst/karef/karef.c
index 3856a39..cfbfa47 100644
--- a/board/sandburst/karef/karef.c
+++ b/board/sandburst/karef/karef.c
@@ -242,7 +242,7 @@ int checkboard (void)
sys_info_t sysinfo;
unsigned char brd_rev, brd_id;
unsigned short sernum;
- unsigned char scan_rev, scan_id, ofem_rev, ofem_id;
+ unsigned char scan_rev, scan_id, ofem_rev=0, ofem_id=0;
unsigned char ofem_brd_rev, ofem_brd_id;
KAREF_FPGA_REGS_ST *karef_ps;
OFEM_FPGA_REGS_ST *ofem_ps;
@@ -349,7 +349,6 @@ int misc_init_r (void)
char envstr[255];
KAREF_FPGA_REGS_ST *karef_ps;
OFEM_FPGA_REGS_ST *ofem_ps;
- unsigned char ofem_id;
if(NULL != getenv("secondserial")) {
puts("secondserial is set, switching to second serial port\n");