summaryrefslogtreecommitdiff
path: root/examples/smc91111_eeprom.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-12 02:10:00 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-12 02:10:00 +0100
commit0afe519a433184fb1270ff0823971130353a807f (patch)
treedcf4e84ada0961ded5df9ebfc2804e882bca57b0 /examples/smc91111_eeprom.c
parentdc013d464000635a5b8ae841c6e683f94a6bee3d (diff)
downloadu-boot-imx-0afe519a433184fb1270ff0823971130353a807f.zip
u-boot-imx-0afe519a433184fb1270ff0823971130353a807f.tar.gz
u-boot-imx-0afe519a433184fb1270ff0823971130353a807f.tar.bz2
Add ADI Blackfin support
- add support for Analog Devices Blackfin BF533 CPU - add support for the ADI BF533 Stamp uClinux board - add support for the ADI BF533 EZKit board Patches by Richard Klingler, June 11th 2005:
Diffstat (limited to 'examples/smc91111_eeprom.c')
-rw-r--r--examples/smc91111_eeprom.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/smc91111_eeprom.c b/examples/smc91111_eeprom.c
index 885f933..98e3e86 100644
--- a/examples/smc91111_eeprom.c
+++ b/examples/smc91111_eeprom.c
@@ -214,13 +214,11 @@ int smc91111_eeprom (int argc, char *argv[])
switch (what) {
case 1:
- printf ("Writing EEPROM register %02x with %04x\n",
- reg, value);
+ printf ("Writing EEPROM register %02x with %04x\n", reg, value);
write_eeprom_reg (value, reg);
break;
case 2:
- printf ("Writing MAC register bank %i,
- reg %02x with %04x\n", reg >> 4, reg & 0xE, value);
+ printf ("Writing MAC register bank %i, reg %02x with %04x\n", reg >> 4, reg & 0xE, value);
SMC_SELECT_BANK (reg >> 4);
SMC_outw (value, reg & 0xE);
break;