diff options
author | Wolfgang Denk <wd@pollux.(none)> | 2005-09-24 21:54:50 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.(none)> | 2005-09-24 21:54:50 +0200 |
commit | 2b792afcc517dcca14c898d3ce444c2bbb7be31a (patch) | |
tree | c689842d41c91bff6054245e0211f18b5c095528 /board/sandburst | |
parent | 9ea4b5886a3aa18bae73d0b6b311f7b93e762faa (diff) | |
download | u-boot-imx-2b792afcc517dcca14c898d3ce444c2bbb7be31a.zip u-boot-imx-2b792afcc517dcca14c898d3ce444c2bbb7be31a.tar.gz u-boot-imx-2b792afcc517dcca14c898d3ce444c2bbb7be31a.tar.bz2 |
* 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')
-rw-r--r-- | board/sandburst/karef/karef.c | 3 |
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"); |