cosmetic
Subsystems (3)
cover cosmetic
Here are some minor changes I've been collecting. Most of it is purely cosmetic, but there are some printf and help output changes, too.
Michael Jones (4):
cosmetic
altera: fix printf typo
cmd_mac: cleanup help
cmd_mac: fix help for 'mac read'
README | 6 +++--- arch/arm/include/asm/global_data.h | 2 +- common/cmd_eeprom.c | 2 +- common/cmd_i2c.c | 4 ++-- common/cmd_mac.c | 4 ++-- drivers/fpga/altera.c | 2 +- drivers/i2c/omap24xx_i2c.c | 2 +- include/altera.h | 10 +++++----- 8 files changed, 16 insertions(+), 16 deletions(-)
Signature · 6 lines
1.7.5.4 MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 1/4 cosmetic
--- README | 6 +++--- arch/arm/include/asm/global_data.h | 2 +- common/cmd_eeprom.c | 2 +- common/cmd_i2c.c | 4 ++-- drivers/i2c/omap24xx_i2c.c | 2 +- include/altera.h | 10 +++++----- 6 files changed, 13 insertions(+), 13 deletions(-)
README +3 -3
@@ -1693,12 +1693,12 @@ The following options need to be configured: => If you now switch to the new I2C Bus 3 with "i2c dev 3" - u-boot sends First the Commando to the mux at 70 to enable - channel 6, and then the Commando to the mux at 71 to enable + u-boot first sends the command to the mux at 70 to enable + channel 6, and then the command to the mux at 71 to enable the channel 4. After that, you can use the "normal" i2c commands as - usual, to communicate with your I2C devices behind + usual to communicate with your I2C devices behind the 2 muxes. This option is actually implemented for the bitbanging
arch/arm/include/asm/global_data.h +1 -1
@@ -24,7 +24,7 @@#ifndef __ASM_GBL_DATA_H#define __ASM_GBL_DATA_H/* -* The following data structure is placed in some memory wich is +* The following data structure is placed in some memory which is * available very early after boot (like DPRAM on MPC8xx/MPC82xx, or * some locked parts of the data cache) to allow for a minimum set of * global variables during system initialization (until we have set
common/cmd_eeprom.c +1 -1
@@ -250,7 +250,7 @@ int eeprom_write (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned cn/* * For a FRAM device there is no limit on the number of the -* bytes that can be ccessed with the single read or write +* bytes that can be accessed with the single read or write * operation. */ #if !defined(CONFIG_SYS_I2C_FRAM )
common/cmd_i2c.c +2 -2
@@ -1397,8 +1397,8 @@ static int i2c_mux_get_busid (void)return tmp; } -/* Analyses a Muxstring and sends immediately the -Commands to the Muxes. Runs from Flash. +/* Analyses a Muxstring and immediately sends the +commands to the muxes. Runs from flash. */ int i2c_mux_ident_muxstring_f (uchar *buf) {
drivers/i2c/omap24xx_i2c.c +1 -1
@@ -399,7 +399,7 @@ static void wait_for_bb (void)int timeout =I2C_TIMEOUT ;u16 stat; -writew (0xFFFF , &i2c_base->stat);/* clear current interruts...*/ +writew (0xFFFF , &i2c_base->stat);/* clear current interrupts...*/ while ((stat =readw (&i2c_base->stat) &I2C_STAT_BB ) && timeout--) {writew (stat, &i2c_base->stat);udelay (1000 );
include/altera.h +5 -5
@@ -51,18 +51,18 @@ typedef enum { /* typedef Altera_iface */ passive_parallel_asynchronous,/* parallel data */ passive_serial_asynchronous,/* serial data w/ internal clock (not used) */ altera_jtag_mode,/* jtag/tap serial (not used ) */ - fast_passive_parallel,/* fast passive parallel (FPP) */ + fast_passive_parallel,/* fast passive parallel (FPP) */ fast_passive_parallel_security,/* fast passive parallel with security (FPPS) */ max_altera_iface_type /* insert all new types before this */ } Altera_iface;/* end, typedef Altera_iface */ typedef enum {/* typedef Altera_Family */ - min_altera_type,/* insert all new types after this */ - Altera_ACEX1K,/* ACEX1K Family */ - Altera_CYC2,/* CYCLONII Family */ + min_altera_type,/* insert all new types after this */ + Altera_ACEX1K,/* ACEX1K Family */ + Altera_CYC2,/* CYCLONII Family */ Altera_StratixII,/* StratixII Familiy */ /* Add new models here */ - max_altera_type/* insert all new types before this */ + max_altera_type/* insert all new types before this */ }Altera_Family ;/* end, typedef Altera_Family */ typedef struct { /* typedef Altera_desc */
Signature · 6 lines
1.7.5.4 MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 1/4 cosmetic
Hi Michael,
Quoted 1 line
Signed-off-by Michael Jones <[email protected]>
Cheers
Detlev
Signature · 6 lines
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
PATCH 2/4 altera: fix printf typo
In reply to Michael Jones--- drivers/fpga/altera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/fpga/altera.c +1 -1
@@ -60,7 +60,7 @@ int altera_load( Altera_desc *desc, void *buf, size_t bsize ) __FUNCTION__); ret_val =ACEX1K_load (desc, buf, bsize);#elif defined(CONFIG_FPGA_CYCLON2 ) -PRINTF ("%s: Launching the CYCLON II Loader...\n" , +PRINTF ("%s: Launching the CYCLONE II Loader...\n" , __FUNCTION__); ret_val =CYC2_load (desc, buf, bsize);#else
Signature · 6 lines
1.7.5.4 MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 2/4 altera: fix printf typo
Quoted 1 line · Michael Jones
Signed-off-by Michael Jones <[email protected]>
Signature · 6 lines
Windows Vista? And what a vista! All you see as you look around your garden is a 60foot high brick wall -- Crosbie Fitch. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
Wolfgang Denk
AppliedPATCH 2/4 altera: fix printf typo
In reply to Michael JonesDear Michael Jones,
Quoted 5 lines · In message <[email protected]>…
Signed-off-by Michael Jones <[email protected]>--- drivers/fpga/altera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What about WRITING it first and rationalizing it afterwords? :-)
- Larry Wall in <[email protected]>PATCH 3/4 cmd_mac: cleanup help
In reply to Michael Jones--- common/cmd_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_mac.c +1 -1
@@ -30,7 +30,7 @@ U_BOOT_CMD( mac,3 ,1 , do_mac,"display and program the system ID and MAC addresses in EEPROM" ,"[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]\n" -"read\n" +"mac read\n" " - show content of EEPROM\n" "mac save\n" " - save to the EEPROM\n"
Signature · 6 lines
1.7.5.4 MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 3/4 cmd_mac: cleanup help
Quoted 1 line · Michael Jones
Signed-off-by Michael Jones <[email protected]>
Signature · 9 lines
It's bad civic hygiene to build technologies that could someday be used to facilitate a police state. No matter what the eavesdroppers and censors say, these systems put us all at greater risk. Communications systems that have no inherent eavesdropping capabilities are more secure than systems with those capabilities built in. -- Bruce Schneier -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
Wolfgang Denk
AppliedPATCH 3/4 cmd_mac: cleanup help
In reply to Michael JonesDear Michael Jones,
Quoted 5 lines · In message <[email protected]>…
Signed-off-by Michael Jones <[email protected]>--- common/cmd_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The night sky over the planet Krikkit is the least interesting sight
in the entire Universe.
- Douglas Adams _Life, the Universe, and Everything_PATCH 4/4 cmd_mac: fix help for 'mac read'
In reply to Michael JonesIn the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
--- common/cmd_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_mac.c +1 -1
@@ -31,7 +31,7 @@ U_BOOT_CMD("display and program the system ID and MAC addresses in EEPROM" ,"[read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]\n" "mac read\n" -" - show content of EEPROM\n" +" - read EEPROM content into memory\n" "mac save\n" " - save to the EEPROM\n" "mac id\n"
Signature · 6 lines
1.7.5.4 MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 4/4 cmd_mac: fix help for 'mac read'
Quoted 7 lines · Michael Jones
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
Signed-off-by Michael Jones <[email protected]>
Signature · 6 lines
Der Kluge tue gleich anfangs, was der Dumme erst am Ende.
--- Baltasar Gracian
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.dePATCH 4/4 cmd_mac: fix help for 'mac read'
Hi Detlev,
Quoted 9 lines · Detlev Zundel
Quoted 6 lines · Michael Jones
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
Quoted 4 lines
Quoted 1 line
Signed-off-by Michael Jones <[email protected]>Acked-by Detlev Zundel <[email protected]>
Thanks for the ack. Do you know when I can expect these to get merged in?
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
PATCH 4/4 cmd_mac: fix help for 'mac read'
Hi Michael,
Quoted 12 lines
Hi Detlev,
Quoted 9 lines · Detlev Zundel
Quoted 6 lines · Michael Jones
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Michael Jones <[email protected]>Acked-by Detlev Zundel <[email protected]>Thanks for the ack. Do you know when I can expect these to get merged in?
As we currently lack a network maintainer, these patches fall into the "and all the rest category" picked up sequentially by Wolfgang. I expect that to happen Real Soon (tm) now.
On the other hand, please do not forget that we _intentionally_ allow for some time to pass before the patches are merged in order to allow for review on the mailing list and to prevent potentially merge/revert/change/merge cycles.
Cheers
Detlev
Signature · 8 lines
The management question ... is not _whether_ to build a pilot system and throw it away. You _will_ do that. The only question is whether to plan in advance to build a throwaway, or to promise to deliver the throwaway to customers. - Fred Brooks, "The Mythical Man Month" -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
PATCH 4/4 cmd_mac: fix help for 'mac read'
Hi Detlev,
Thanks for the reply.
Quoted 17 lines · Detlev Zundel
Hi Michael,
Quoted 14 lines
Hi Detlev,
Quoted 11 lines · Detlev Zundel
Quoted 7 lines · Michael Jones
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
Signed-off-by Michael Jones <[email protected]>
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Acked-by Detlev Zundel <[email protected]>Thanks for the ack. Do you know when I can expect these to get merged in?
As we currently lack a network maintainer, these patches fall into the "and all the rest category" picked up sequentially by Wolfgang. I expect that to happen Real Soon (tm) now.
That's exactly what I wanted to know- it seemed there wasn't a custodian whom I needed to cc:, and I didn't know who would end up merging them.
Quoted 5 lines
On the other hand, please do not forget that we _intentionally_ allow for some time to pass before the patches are merged in order to allow for review on the mailing list and to prevent potentially merge/revert/change/merge cycles.
Sure, and that makes sense. I just wanted to get a feel for what kind of time scale that was in general. Obviously these are not important patches.
Quoted 4 lines
Cheers
Detlev
thanks,
Michael
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier
Wolfgang Denk
AppliedPATCH 4/4 cmd_mac: fix help for 'mac read'
In reply to Michael JonesDear Michael Jones,
Quoted 10 lines · In message <[email protected]>…
In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into memory. Displaying the contents of the EEPROM is done by passing no arguments to 'mac'.
Signed-off-by Michael Jones <[email protected]>--- common/cmd_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Der Irrtum wiederholt sich immerfort in der Tat. Deshalb mu? man das Wahre unerm?dlich in Worten wiederholen. - Goethe